]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Flash now flashes black instead of white. (#14642)
authorMoony <moony@hellomouse.net>
Tue, 14 Mar 2023 05:37:21 +0000 (00:37 -0500)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 05:37:21 +0000 (16:37 +1100)
Resources/Textures/Shaders/flashed_effect.swsl

index 67dc67b185e827a162f579d5418952c93e2ee38b..ec486ab531304d5eb91f3e61eabede9a59b2050b 100644 (file)
@@ -12,7 +12,7 @@ void fragment() {
     highp vec4 textureMix = mix(tex1, tex2, 0.5);
 
     // Gradually mixes between the texture mix and a full-white texture, causing the "blinding" effect
-    highp vec4 mixed = mix(vec4(1.0, 1.0, 1.0, 1.0), textureMix, percentComplete);
+    highp vec4 mixed = mix(vec4(0.0, 0.0, 0.0, 1.0), textureMix, percentComplete);
 
     COLOR = vec4(mixed.rgb, remaining);
 }