fixed focus laser, improved F1 TAA behaviour

This commit is contained in:
Sasha
2023-04-20 22:13:02 +01:00
parent b001f98071
commit 26c35b59b0
4 changed files with 34 additions and 29 deletions

View File

@ -76,6 +76,7 @@ uniform vec2 texelSize;
uniform float frameTimeCounter;
uniform float viewHeight;
uniform float viewWidth;
uniform int hideGUI;
uniform int frameCounter;
uniform int framemod8;
uniform vec3 previousCameraPosition;
@ -454,8 +455,12 @@ void main() {
#ifndef SPLIT_RENDER
#ifdef SCREENSHOT_MODE
vec4 color = TAA_hq_render();
vec4 color;
if(hideGUI >= 1) {
color = TAA_hq_render();
} else {
color = vec4(clamp(fp10Dither(texture2D(colortex3,texcoord).rgb,triangularize(interleaved_gradientNoise())),0.,65000.), 0.0);
}
gl_FragData[0] = color;