Skip to content

Commit 0227b7a

Browse files
committedFeb 28, 2025··
Issue #872: Fix float overflow in plasma transition shader
1 parent 5a31295 commit 0227b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/libprojectM/Renderer/TransitionShaders/TransitionShaderBuiltInPlasmaGlsl330.frag

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
float sinNoise(vec2 uv)
55
{
6-
return fract(abs(sin(uv.x * 180.0 + uv.y * 3077.0) * (float(iRandStatic.x) * .001)));
6+
return fract(abs(sin(uv.x * 0.018 + uv.y * 0.3077) * (float(iRandStatic.x) * .001)));
77
}
88

99
float valueNoise(vec2 uv, float scale)

0 commit comments

Comments
 (0)
Please sign in to comment.