Skip to content

Commit 5bd557f

Browse files
committed
Updates
1 parent 6ef3b03 commit 5bd557f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/p5/shader.frag

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ float snoise(vec3 v){
4747
vec3 i1 = min( g.xyz, l.zxy );
4848
vec3 i2 = max( g.xyz, l.zxy );
4949

50-
x0 = x0 - 0. + 0.0 * C
50+
x0 = x0 - 0.0 + 0.0 * C
5151
vec3 x1 = x0 - i1 + 1.0 * C.xxx;
5252
vec3 x2 = x0 - i2 + 2.0 * C.xxx;
53-
vec3 x3 = x0 - 1. + 3.0 * C.xxx;
53+
vec3 x3 = x0 - 1.0 + 3.0 * C.xxx;
5454

5555
// Permutations
5656
i = mod(i, 289.0 );

0 commit comments

Comments
 (0)