Game Brightness
by Vladan Markovic · in Torque Game Builder · 09/24/2011 (9:41 am) · 2 replies
Is there a way to change game brightness?
Except for the function that changes Gamma of the graphic card.
Thank you
#2
We ended up with pretty much what Rennie suggested -- stretching a single white pixel t2dStaticSprite across the whole screen and setting it like so:
SrcBlendFactor = "DST_COLOR";
DstBlendFactor = "SRC_ALPHA";
This isn't ideal, as it isn't a proper gamma shift, and it tends to blow out whites into a fuzz halo of doom. But it does brighten up the scenes a bit. I think we cap it somewhere short of 1 and just allow the brightness slider to shift from 0.0 to 0.75ish.
09/28/2011 (6:27 pm)
Heyo,We ended up with pretty much what Rennie suggested -- stretching a single white pixel t2dStaticSprite across the whole screen and setting it like so:
SrcBlendFactor = "DST_COLOR";
DstBlendFactor = "SRC_ALPHA";
This isn't ideal, as it isn't a proper gamma shift, and it tends to blow out whites into a fuzz halo of doom. But it does brighten up the scenes a bit. I think we cap it somewhere short of 1 and just allow the brightness slider to shift from 0.0 to 0.75ish.
Torque Owner rennie moffat
Renman3000
What I would suggest, if there is not is simply use a shade. A simple object, of X colour, that covers the gameScreen and that its only function is to switch its alpha level, thus changing its opacity or transparency.