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