diff --git a/random.glsl b/random.glsl index 039e284..d184cc5 100644 --- a/random.glsl +++ b/random.glsl @@ -1,4 +1,4 @@ -float random(vec2 co){ - return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453); +float random(vec2 c){ + return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453); } #pragma glslify: export(random)