Diggler/assets/3dTextured.f.glsl

8 lines
134 B
GLSL
Executable File

#version 120
varying vec2 v_texcoord;
uniform sampler2D texture;
void main(void) {
gl_FragColor = texture2D(texture, v_texcoord);
}