Game Development Community

Realtime brightness/gamma adjust ?

by Orion Elenzil · in Torque Game Engine · 03/16/2006 (10:34 am) · 2 replies

Hi all -

in TGE1.3 / TLK1.3.5,

i'd like to implement a "brightness" control allowing the user to adjust the brightness/gamma of the entire scene during runtime.

i know about videoSetGammaCorrection(),
but that adjusts the gamma for your whole monitor, not just torque, which is kind of rude.

any other solutions ?

maybe i'll cross-post this into the Lighting Kit forum.

#1
03/16/2006 (2:01 pm)
You own the Lighting Kit? So check out the new DRL resource. It implements dynamic range lighting, and automatic tone mapping. With the correct values, you can force a manual brightness and contrast setting to the scene.
#2
03/16/2006 (3:51 pm)
Thanks Manoel, that looks perfect.
Hopefully we can get it to work w/ TGE 1.3!