New permutation (improved randomness)
This commit is contained in:
parent
4f45db8b1b
commit
548a70c2d9
@ -19,7 +19,7 @@ vec4 mod289(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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user