mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-22 09:23:51 +00:00
fix: fix gamma (#191)
This commit is contained in:
parent
13c8bafad5
commit
7eb4c78488
2 changed files with 5 additions and 1 deletions
|
|
@ -903,7 +903,7 @@ void GameRenderer::updateLightTexture(float a)
|
|||
if (_g > 1) _g = 1;
|
||||
if (_b > 1) _b = 1;
|
||||
|
||||
float brightness = 0.0f; // 4J - TODO - was mc->options->gamma;
|
||||
float brightness = mc->options->gamma;
|
||||
|
||||
float ir = 1 - _r;
|
||||
float ig = 1 - _g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue