Am Freitag, 21. März 2008 22:49:05 schrieb Roderick Colenbrander:
Hi,
This patch adds srgb write support to CheckDeviceFormat. Before we implicitly allowed it. Stefan said that we offer it using ARB/GLSL shaders when the format is X8R8G8B8 or A8R8G8B8.
Ah, looks like you were faster than I was with replying :-)
Did you check which formats offer srgb writing on Windows? Our pixel shader code offers it for all formats, although srgb correction is pretty pointless on float buffers
Hi,
This patch adds srgb write support to CheckDeviceFormat. Before we implicitly allowed it. Stefan said that we offer it using ARB/GLSL
shaders
when the format is X8R8G8B8 or A8R8G8B8.
Ah, looks like you were faster than I was with replying :-)
Did you check which formats offer srgb writing on Windows? Our pixel shader code offers it for all formats, although srgb correction is pretty pointless on float buffers
The geforce7/8 offer it on R5G6B5 and the *8R8G8B8 formats. Not sure about ati or intel but I think ati at least offers it on 32bit formats.
Roderick