From 548a70c2d98421057a83e60e7c9f2479c4a6194e Mon Sep 17 00:00:00 2001 From: Stefan Gustavson Date: Wed, 30 Jun 2021 16:08:16 +0200 Subject: [PATCH] New permutation (improved randomness) --- src/classicnoise4D.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classicnoise4D.glsl b/src/classicnoise4D.glsl index 7aaeed7..aae5002 100644 --- a/src/classicnoise4D.glsl +++ b/src/classicnoise4D.glsl @@ -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)