Flash now flashes black instead of white. (#14642)
This commit is contained in:
@@ -12,7 +12,7 @@ void fragment() {
|
|||||||
highp vec4 textureMix = mix(tex1, tex2, 0.5);
|
highp vec4 textureMix = mix(tex1, tex2, 0.5);
|
||||||
|
|
||||||
// Gradually mixes between the texture mix and a full-white texture, causing the "blinding" effect
|
// 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);
|
COLOR = vec4(mixed.rgb, remaining);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user