Skip to content

Commit a3e6d57

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/noise3D.glsl

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

2121
vec4 permute(vec4 x) {
22-
return mod289(((x*34.0)+6.0)*x);
22+
return mod289(((x*34.0)+10.0)*x);
2323
}
2424

2525
vec4 taylorInvSqrt(vec4 r)

0 commit comments

Comments
 (0)