Game Development Community

How can I adjust/correct gamma/brightness in game depending on my screen?

by Richard Marrevee · in Torque 3D Professional · 06/24/2010 (2:01 am) · 3 replies

I am looking for a way to adjust the gamma setting in game, so players can adjust if the game is darker on their screen. Browsing through the forums give me some solutions, but none seem to work with T3D1.1B

Is there a global or a function to accomplish this, or should I play with the exposure value in scattersky?

Thanks in advance.

Edit:
Changed the titel, was a little bit cryptic.

About the author

Started programming in 1984 on an Oric, when time progressed switched to MSX, Amiga and finally the Windows PC with T3D. Now developing an epic fantasy game: The Master's Eye. Creator of the DoorClass pack and VolumetricFog pack @ richardsgamestudio.com


#1
07/15/2010 (1:12 pm)
Bumping this thread, and explain the problem.

The problem is that when I play my game on my own screen everything looks right, but when I play it on another computer/screen the game looks darker. Now I know that most of the games I've played there was an option to adjust the gamma level, so the game looks brighter (or darker if needed). There are a few solutions here in the various forums, but none seem to work in T3D1.1B.

So what I'm looking for is a solution where I can present a slider-control on the screen where I can adjust brightness of my game. I know how to build a slider control, but I don't know which variable (if there is one) I have to change.
#2
07/15/2010 (7:36 pm)
Probably need to add a gamma correction/exposure shader for use in the postFX process for best results -- I don't recall seeing any gamma controls in T3D.
#3
07/15/2010 (9:04 pm)
Mmmm, shaders is not my strength. B(.
Anyway thanks Michael.