New permutation (much improved randomness)

master
Stefan Gustavson 2021-06-29 11:08:25 +02:00 committed by GitHub
parent 2dfa3601bd
commit c11ba2306c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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