diff --git a/src/cellular2x2x2.glsl b/src/cellular2x2x2.glsl index 7a31384..e3eb6ff 100644 --- a/src/cellular2x2x2.glsl +++ b/src/cellular2x2x2.glsl @@ -23,11 +23,11 @@ vec4 mod7(vec4 x) { // Permutation polynomial: (34x^2 + 6x) mod 289 vec3 permute(vec3 x) { - return mod289((34.0 * x + 6.0) * x); + return mod289((34.0 * x + 10.0) * x); } vec4 permute(vec4 x) { - return mod289((34.0 * x + 6.0) * x); + return mod289((34.0 * x + 10.0) * x); } // Cellular noise, returning F1 and F2 in a vec2.