mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-03-20 09:39:07 +00:00
Fix: Add static noise when horizontal distortion is activated.
This commit is contained in:
parent
38d4c5dd52
commit
fa59bb06b1
@ -238,7 +238,9 @@ ShaderEffect {
|
||||
|
||||
(horizontal_sincronization !== 0 ? "
|
||||
float dst = sin((coords.y + time * 0.001) * distortionFreq);
|
||||
coords.x += dst * distortionScale;"
|
||||
coords.x += dst * distortionScale;" +
|
||||
(noise_strength ? "
|
||||
noise += distortionScale * 3.0;" : "")
|
||||
: "") +
|
||||
|
||||
(jitter !== 0 || noise_strength !== 0 ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user