fix: fix gamma (#191)

This commit is contained in:
daoge authored and GitHub committed 2026-03-03 06:20:55 +07:00
1 parent 13c8bafad5
commit 7eb4c78488
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -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;