aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/GameRenderer.cpp
diff options
context:
space:
mode:
authordaoge <3523206925@qq.com>2026-03-03 07:20:55 +0800
committerGitHub <noreply@github.com>2026-03-03 06:20:55 +0700
commit7eb4c7848894bfa757abfcf946173c0d36d0a64b (patch)
tree94efa137b1d3d077555d1d55e80a8d628d6fe004 /Minecraft.Client/GameRenderer.cpp
parent13c8bafad57bd081a3e87eb7e67a3a0d98734706 (diff)
fix: fix gamma (#191)
Diffstat (limited to 'Minecraft.Client/GameRenderer.cpp')
-rw-r--r--Minecraft.Client/GameRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/GameRenderer.cpp b/Minecraft.Client/GameRenderer.cpp
index 5e52459c..08c20cfb 100644
--- a/Minecraft.Client/GameRenderer.cpp
+++ b/Minecraft.Client/GameRenderer.cpp
@@ -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;