Advertisement

Brightness adjustment in OGL

Started by March 30, 2002 12:59 PM
0 comments, last by Oktan 22 years, 11 months ago
Is there an hardware way to set brightness level without reloading / updateing textures? Thx in advance
you can use SetDeviceGammaRamp() for setting gamma. Search google for use.

If you just want to brighten individual textures you multiply each byte of image with something like 1.5 before uploading it to card

There are more worlds than the one that you hold in your hand...
You should never let your fears become the boundaries of your dreams.

This topic is closed to new replies.

Advertisement