fix: fix gamma (#191)

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

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;