Files
shaders/basic.fragment
2024-06-27 12:21:49 +02:00

10 lines
211 B
Plaintext

uniform sampler2D tex0;
varying vec4 v_color; // the input variable from the vertex shader (same name and same type)
varying vec2 v_texCoord;
void main()
{
gl_FragColor = texture2D(tex0, v_texCoord);
}