https://github.com/sylvainthery/procedural_micro_patterns
Tip revision: a26bd38e4abcbfd6bf58e9a5fa424d9ceb959960 authored by Sylvain Thery on 02 December 2022, 14:10:09 UTC
update README
update README
Tip revision: a26bd38
copy_tex.frag
#version 300 es
precision highp float;
uniform sampler2D TU_input;
uniform int coord;
out vec4 frag_out;
void main()
{
ivec2 tc=ivec2(gl_FragCoord.xy);
vec3 val = vec3(0);
frag_out = vec4(texelFetch(TU_input,tc,0).rgb,1);
}