SFML community forums
Help => Window => Topic started by: shiroaisu on January 12, 2011, 12:56:37 pm
-
Hi.
I would like to know if there is any way to change the gamma, brightness and contrast of the window using SFML.
tks in advance.
-
The only "easy" way that I can think of, is to use a shader.
-
yes i tought of that too, but that would only change the brigtness, what about the contrast?? is there anyway to change it?
-
You should be able to make a contrast filter via shaders as well.
-
As long as there's a formula that can process RGBA and can output RGBA, you can do it with a shader.
-
Ok thanks for the replies :)