Brightness adjustment in OGL
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...
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement