Skip to content

Commit

Permalink
Back Out "Flash Now Flashes Black Instead of White. (#14642)" (#1331)
Browse files Browse the repository at this point in the history
Original commit changeset: c3dcc7a

# Description

Dark flash is cowardly. Billions must be flashbanged irl

# Changelog

:cl:
- tweak: Flashes are bright again!
  • Loading branch information
stellar-novas authored Dec 10, 2024
1 parent 49b9c34 commit 6b1feac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Textures/Shaders/flashed_effect.swsl
Original file line number Diff line number Diff line change
Expand Up @@ -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(0.0, 0.0, 0.0, 1.0), textureMix, percentComplete);
highp vec4 mixed = mix(vec4(1.0, 1.0, 1.0, 1.0), textureMix, percentComplete);

COLOR = vec4(mixed.rgb, remaining);
}

0 comments on commit 6b1feac

Please sign in to comment.