mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-31 02:01:19 +00:00
Fix division by zero when no effects were selected.
This commit is contained in:
parent
2b2ae66b8d
commit
af8edc72f4
@ -274,7 +274,7 @@ ShaderEffect {
|
||||
vec2 txt_coords = coords + offset * jitterDisplacement;"
|
||||
: "vec2 txt_coords = coords;") +
|
||||
|
||||
"float color = 0.0;" +
|
||||
"float color = 0.0001;" +
|
||||
|
||||
(staticNoise !== 0 ? "
|
||||
float noiseVal = noiseTexel.a;
|
||||
|
Loading…
x
Reference in New Issue
Block a user