New permutation (improved randomness)
This commit is contained in:
parent
61ae2a4bf1
commit
a3e6d57095
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user