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