mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-24 17:42:35 +08:00
made screenshot mode take hideGUI into account
This commit is contained in:
@ -77,6 +77,7 @@ uniform vec2 texelSize;
|
|||||||
uniform float frameTimeCounter;
|
uniform float frameTimeCounter;
|
||||||
uniform float viewHeight;
|
uniform float viewHeight;
|
||||||
uniform float viewWidth;
|
uniform float viewWidth;
|
||||||
|
uniform int hideGUI;
|
||||||
uniform int frameCounter;
|
uniform int frameCounter;
|
||||||
uniform int framemod8;
|
uniform int framemod8;
|
||||||
uniform vec3 previousCameraPosition;
|
uniform vec3 previousCameraPosition;
|
||||||
@ -457,8 +458,13 @@ void main() {
|
|||||||
|
|
||||||
#ifdef SCREENSHOT_MODE
|
#ifdef SCREENSHOT_MODE
|
||||||
|
|
||||||
vec4 color = TAA_hq_render();
|
if(hideGUI > 0) {
|
||||||
gl_FragData[0] = color;
|
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
|
#else
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user