mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-23 01:59:39 +08:00
made screenshot mode take hideGUI into account
This commit is contained in:
parent
a943c1dc1c
commit
7207990604
@ -77,6 +77,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;
|
||||
@ -457,8 +458,13 @@ void main() {
|
||||
|
||||
#ifdef SCREENSHOT_MODE
|
||||
|
||||
if(hideGUI > 0) {
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user