diff options
| author | ModMaker101 <119018978+ModMaker101@users.noreply.github.com> | 2026-03-07 04:00:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 03:00:38 -0600 |
| commit | e754bad17e5770ccbcceb45c39f31d7e8bf6ff58 (patch) | |
| tree | 924e0f3b153c62f9416d05c6a1e8c3155c33ffad /Minecraft.Client/Common | |
| parent | cc85ecf05af6dcc35afc1ab905ce306b04055fc9 (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/Common')
| -rw-r--r-- | Minecraft.Client/Common/PostProcesser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/PostProcesser.h b/Minecraft.Client/Common/PostProcesser.h index ab7aedf6..35fa5080 100644 --- a/Minecraft.Client/Common/PostProcesser.h +++ b/Minecraft.Client/Common/PostProcesser.h @@ -45,6 +45,8 @@ private: bool m_wineMode = false; D3D11_VIEWPORT m_customViewport; bool m_useCustomViewport = false; + UINT m_gammaTexWidth = 0; + UINT m_gammaTexHeight = 0; struct GammaCBData { |
