sRGB Test
|
| |
| |

|
Figure 1 - Image displayed without and with
sRGB conversion
|
|
This sample application illustrates
the three stages in the DirectX 9 graphics pipeline
at which gamma correction can be applied:
- From 2.2 to linear
upon texture read (for supported formats)
- To 2.2 on frame buffer
write (on devices which support it)
- Through arbitrary gamma
table on scan out to DAC (universally supported)
|
| |
- sRGBTest Controls
-
- D - Toggle DAC between 2.2 and linear
- S - Toggle D3DRS_SRGBWRITEENABLE
- Up/Down Arrows
- Cycle through some different source texture
formats
- [F2] - Prompts user to select a new
rendering device or display mode
- Alt+[ENTER]
- Toggles between fullscreen and windowed modes
- [SPACE] - Pauses animation
- [ENTER] - Restarts
animation
- [ESC] - Quit
|
| |
- Requirements
-
- Download
-
|