Flash now flashes black instead of white. (#14642)

This commit is contained in:
Moony
2023-03-14 00:37:21 -05:00
committed by GitHub
parent 7638ad19cf
commit c3dcc7a124

View 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);
}