mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-15 17:53:53 +00:00
* Call gamma post process after `ui.render` #611 * Fixed "washed out" look. * Improve gamma pass and cache viewport size
This commit is contained in:
parent
cc85ecf05a
commit
e754bad17e
9 changed files with 90 additions and 49 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#include "..\..\Minecraft.World\compression.h"
|
||||
#include "..\..\Minecraft.World\OldChunkStorage.h"
|
||||
#include "Common/PostProcesser.h"
|
||||
#include "..\GameRenderer.h"
|
||||
#include "Network\WinsockNetLayer.h"
|
||||
#include "Windows64_Xuid.h"
|
||||
|
||||
|
|
@ -1517,6 +1518,9 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
|||
#endif
|
||||
ui.tick();
|
||||
ui.render();
|
||||
|
||||
pMinecraft->gameRenderer->ApplyGammaPostProcess();
|
||||
|
||||
#if 0
|
||||
app.HandleButtonPresses();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue