5 lines
123 B
GLSL
5 lines
123 B
GLSL
float random(vec2 c){
|
|
return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);
|
|
}
|
|
#pragma glslify: export(random)
|