i just had this change here idk what it does xd

This commit is contained in:
Sasha 2023-04-14 19:41:10 +01:00
parent 8102fefdb3
commit 300e563203

View File

@ -59,6 +59,7 @@ uniform float frameTimeCounter;
uniform float viewHeight; uniform float viewHeight;
uniform float viewWidth; uniform float viewWidth;
uniform int frameCounter; uniform int frameCounter;
uniform int hideGUI;
uniform int framemod8; uniform int framemod8;
uniform vec3 previousCameraPosition; uniform vec3 previousCameraPosition;
uniform mat4 gbufferPreviousModelView; uniform mat4 gbufferPreviousModelView;
@ -400,9 +401,13 @@ void main() {
#ifndef SPLIT_RENDER #ifndef SPLIT_RENDER
#ifdef SCREENSHOT_MODE #ifdef SCREENSHOT_MODE
if(hideGUI >= 1){
vec4 color = TAA_hq_render(); vec4 color = TAA_hq_render();
gl_FragData[0] = color; gl_FragData[0] = color;
} else {
vec3 color = clamp(fp10Dither(texture2D(colortex3,texcoord).rgb,triangularize(interleaved_gradientNoise())),0.,65000.);
gl_FragData[0].rgb = color;
}
#else #else