Brightness
Your post is a bit vague, but i think this is what you mean.
glcolor3f(0.2f,0.0f,0.0f) is a dull red
glcolor3f(1.0f,0.0f,0.0f) is a bright red
glcolor3f(0.2f,0.0f,0.0f) is a dull red
glcolor3f(1.0f,0.0f,0.0f) is a bright red
www.stickskate.com -> check it out, some gnarly stick skating movies
In most games you can go to options menu and set brightness/contrast of the entire screen, so everything you rendered looks brighter
it could be that the brightness is a float that is changed from 0 dark to 1 bright, and then all colors are multiplied by this value.
eg
glColor3f(0.0f*brightness,1.0f*brightness,0.25f * brightness);
otherwise, Im not sure
eg
glColor3f(0.0f*brightness,1.0f*brightness,0.25f * brightness);
otherwise, Im not sure
www.stickskate.com -> check it out, some gnarly stick skating movies
Quote: Original post by ZaphodBeebelbrox
In most games you can go to options menu and set brightness/contrast of the entire screen, so everything you rendered looks brighter
No, in most games you can set the gamma value, it basicly adjusts the output so that the game is playable eventhough you have a monitor that tend to be a little to dark or to bright.
You can't set the contrast trough application (unless you write a shader for it that is).
It is only on the controls in your drivers or monitor that can adjust the correct brightness/contrast values.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
You can blend an additive layer of white, on top of your scene ;)
| Stein Nygård - http://steinware.dk |
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement