mns-mini-zabor/utils/dith.frag

13 lines
292 B
GLSL

#include <dithering_fragment>
<<<<<<< HEAD
// vec2 st = vec2(vDistance,vDistance)/vec2(u_resolution);
vec2 st = vPosition.xy / vec2(u_resolution);
vec3 pos = vec3(st * 5.0, 1.0 * 0.5);
vec3 color = vec3(noise(pos));
=======
>>>>>>> bx-1480-constructor
// gl_FragColor = vec4(normal, 1.0);