This commit is contained in:
yoichi kobayashi 2017-01-30 15:48:34 +09:00
parent 410269e647
commit dac8afc1fd

View File

@ -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)