Changing gamma during runtime

Started by
1 comment, last by Crispy 21 years, 8 months ago
Hi, It''s pretty easy to change gamma for textures and lightmaps, but how do I change the gamma for a build level (like in actual games via a slider)? Thanks, Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
Advertisement
I think there is an API function (Windows)
SetGammaRamp () or so.
but be careful, you can f*ck up your system-settings with this.
(like Quake 3 does if it crashes).
Anything that requires finding convex hulls in realtime isstarting to sound like a bad idea. -- John Carmack
Okay - got it working, thanks!

quote:Original post by stryx
but be careful, you can f*ck up your system-settings with this.


Amen to that.

Crispy


"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared

This topic is closed to new replies.

Advertisement