Skip to content

Commit 61ae2a4

Browse files
authored
New permutation (improved randomness)
1 parent 548a70c commit 61ae2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/noise2D.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ vec2 mod289(vec2 x) {
1818
}
1919

2020
vec3 permute(vec3 x) {
21-
return mod289(((x*34.0)+6.0)*x);
21+
return mod289(((x*34.0)+10.0)*x);
2222
}
2323

2424
float snoise(vec2 v)

0 commit comments

Comments
 (0)