mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-16 16:03:52 +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
|
|
@ -86,6 +86,7 @@ char secureFileId[CELL_SAVEDATA_SECUREFILEID_SIZE] =
|
|||
#include "..\..\Minecraft.Client\Tesselator.h"
|
||||
#include "..\Common\Console_Awards_enum.h"
|
||||
#include "..\..\Minecraft.Client\Options.h"
|
||||
#include "..\GameRenderer.h"
|
||||
#include "Sentient\SentientManager.h"
|
||||
#include "..\..\Minecraft.World\IntCache.h"
|
||||
#include "..\Textures.h"
|
||||
|
|
@ -1245,6 +1246,8 @@ int main()
|
|||
ui.tick();
|
||||
ui.render();
|
||||
|
||||
pMinecraft->gameRenderer->ApplyGammaPostProcess();
|
||||
|
||||
// Present the frame.
|
||||
PIXBeginNamedEvent(0,"Frame present");
|
||||
RenderManager.Present();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue