* Call gamma post process after `ui.render` #611 * Fixed "washed out" look. * Improve gamma pass and cache viewport size
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user