From 1b916993e082e0d8c867b590b1cdec5250d5b16e Mon Sep 17 00:00:00 2001 From: antopilo Date: Tue, 31 Aug 2021 19:10:15 -0400 Subject: [PATCH] Added move to dither --- Editor/resources/Shaders/dither.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/resources/Shaders/dither.shader b/Editor/resources/Shaders/dither.shader index 689e7055..c2ddc158 100644 --- a/Editor/resources/Shaders/dither.shader +++ b/Editor/resources/Shaders/dither.shader @@ -22,7 +22,7 @@ out vec4 FragColor; void main() { - if (mod(gl_FragCoord.x + gl_FragCoord.y, 4.0) < 2.0) + if (mod(gl_FragCoord.x + gl_FragCoord.y + (u_Time * 4.0), 4.0) < 2.0) discard; vec4 finalColor = u_Color;