New permutation (improved randomness)

This commit is contained in:
Stefan Gustavson 2021-06-30 16:08:50 +02:00 committed by GitHub
parent 61ae2a4bf1
commit a3e6d57095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ vec4 mod289(vec4 x) {
} }
vec4 permute(vec4 x) { vec4 permute(vec4 x) {
return mod289(((x*34.0)+6.0)*x); return mod289(((x*34.0)+10.0)*x);
} }
vec4 taylorInvSqrt(vec4 r) vec4 taylorInvSqrt(vec4 r)