Advertisement

brightness of game

Started by February 21, 2000 09:15 PM
2 comments, last by +AA_970+ 24 years, 7 months ago
hi, i found out that my game is now really bright because the voodoo 3 driver sets the gamma of direct 3d (i''m experimenting doing 3d stuff in 2d, so far unsuccessful though) to 1.30. When i change this to 1.00 everything looks fine. In my game i don''t want it so that the user has to do these changes in display setting, because it may affect other games, but have the options to change the gamma from within the game like almost all the games i''ve played do. So my questions is how would i go about making a gamma control for my game? I have read some stuff on fading in 16 bpp my manipulating the gamma control of the video card, would the control be made using similar techniques?
My guess would be that you need to use the gamma controls provided with directx.
---Ranok---
Advertisement
I believe you can set the gamma correction programatically with the SetColorControls function.
thanx alot i think i have an idea of what to do now

This topic is closed to new replies.

Advertisement