aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Durango
diff options
context:
space:
mode:
authorModMaker101 <119018978+ModMaker101@users.noreply.github.com>2026-03-07 04:00:38 -0500
committerGitHub <noreply@github.com>2026-03-07 03:00:38 -0600
commite754bad17e5770ccbcceb45c39f31d7e8bf6ff58 (patch)
tree924e0f3b153c62f9416d05c6a1e8c3155c33ffad /Minecraft.Client/Durango
parentcc85ecf05af6dcc35afc1ab905ce306b04055fc9 (diff)
Improve gamma shader parity - fixes #611 (#790)
* Call gamma post process after `ui.render` #611 * Fixed "washed out" look. * Improve gamma pass and cache viewport size
Diffstat (limited to 'Minecraft.Client/Durango')
-rw-r--r--Minecraft.Client/Durango/Durango_Minecraft.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Minecraft.Client/Durango/Durango_Minecraft.cpp b/Minecraft.Client/Durango/Durango_Minecraft.cpp
index a563c9f3..7fdab1be 100644
--- a/Minecraft.Client/Durango/Durango_Minecraft.cpp
+++ b/Minecraft.Client/Durango/Durango_Minecraft.cpp
@@ -27,6 +27,7 @@
#include "Leaderboards\DurangoLeaderboardManager.h"
#include "..\..\Minecraft.Client\Tesselator.h"
#include "..\..\Minecraft.Client\Options.h"
+#include "..\GameRenderer.h"
#include "Sentient\SentientManager.h"
#include "..\..\Minecraft.World\IntCache.h"
#include "..\Textures.h"
@@ -832,6 +833,9 @@ void oldWinMainTick()
#endif
ui.tick();
ui.render();
+
+ pMinecraft->gameRenderer->ApplyGammaPostProcess();
+
#if 0
app.HandleButtonPresses();