Advertisement

brightness fix

Started by May 13, 2002 06:47 PM
1 comment, last by f0rg04t 22 years, 9 months ago
I play a multiplayer game called "Counter-Strike". THe homepage is www.counter-strike.net if u wanna check it out. anyway, i need help with some OpenGL coding im doing. first off im really REALLY noobie to this stuff so pls dont make fun of me. i am making a dll file that includes the opengl libraries, and exports the functions. my computer is naturally-dark, so i cant see many things in game due to darkness. i fixed one by changing the glColor4x(i think thats it) to 1.0f, 1.0f, 1.0f before it was sent to the model to be displayed, therefore it becomes brighter... i was wondering if anyone could show me how to make the map brighter, cuz i can see the players a little better now, but i need to see the map so i dont run into things lol... ty for your help - f0rg04t
Use the hardware gamma ramp to adjust brightness, or failing that, a blended quad over the screen to "brighten" it up.

-----------------------
"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else''s drivers, I assume it is their fault" - John Carmack
-----------------------"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else's drivers, I assume it is their fault" - John Carmack
Advertisement
how would i do this, generate a quad that takes up the screen first off, then i believe i would use glBlend(1.0f, 1.0f, 1.0f, .5f)


is that correct??? how do i make the quad?

This topic is closed to new replies.

Advertisement