View Full Version : Adjusting contrast / brightness
mathgenius
08-19-2004, 04:32 PM
I'm just testing my game on another machine here; it's very dark with high contrast. I've noticed that some games allow adjusting of contrast / brightness parameters: how do they do that? Re-render all the textures ? Or is there an API for doing this (in directX/OpenGL/windowsXYZ) ?
Simon.
http://www.flipcode.com/cgi-bin/msg.cgi?showThread=00000670&forum=3dtheory&id=-1
Search terms used:
opengl gamma ramp
HTH
Donavon Keithley
08-20-2004, 06:48 PM
Direct3D: The SetGammaRamp function on the device.
Win32: SetDeviceGammaRamp
vBulletin v3.6.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.