Dark Bit Factory & Gravity
PROGRAMMING => General coding questions => Topic started by: Xetick on May 10, 2011
-
Yet again I stumble upon a article about how gamma correction is very important if you want to make something look good and after a lot of digging I have yet to find any good info about how common it actually is and how its most commonly added to an engine.
Do most modern demos do gamma correction?
Do most modern games do gamma correction?
If so do they have gamma correction in each shader or do they do it as a last full screen pass or in some other way?
I know there are a few opengl/directx extensions out there to help in this but they seem to be broken or fragmented across drivers and for example DirectX 9 auto gamma correction curves apparently differ from DirectX 10 and 11. So it seems like the only way to do it is to do it by yourself if you want to make sure it looks the same across different cards/api versions.
-
The only article I can ever remember reading that has anything about gamma correction in demo coding is this one;
http://breakpoint.untergrund.net/miscbigscreen.php (http://breakpoint.untergrund.net/miscbigscreen.php)
But there is scant information there I'm afraid.