Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: qvist on August 20, 2012, 01:34:28 PM
-
Hello everybody!
I have done a update to 1.9.1 so you now can change gamma. It is pretty much the same as in kinjals version.
The gamma-correction will only work in fullscreen mode and dxlvl 9.
I preserved the same methods as kinjal.
-Game.SetGamma(int) - Integer value that sets gamma between 0(dark)-254(bright)
-int Game.GetGamma() - Retruns current gamma
-Game.SetGammaDefault(int) - Defualt value for gamma, default is 140
-Game.RestoreGamma() - Sets gamma to the value of SetGammaDefault
Source Code: http://www.qvistz.com/dl/Wme-1.9.1-Gamma-Correction-source-code.rar (http://www.qvistz.com/dl/Wme-1.9.1-Gamma-Correction-source-code.rar)
Binary: http://www.qvistz.com/dl/Wme-1.9.1-Gamma-Correction-binary.rar (http://www.qvistz.com/dl/Wme-1.9.1-Gamma-Correction-binary.rar)
I got much help from kinjals version to write it. Big thanks to him!