mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
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);
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user