Files
Terrarum/assets/passthru.frag

14 lines
231 B
GLSL

#version 120
#ifdef GL_ES
precision mediump float;
#endif
varying vec4 v_color;
varying vec2 v_texCoords;
uniform sampler2D u_texture;
void main(void) {
gl_FragColor = vec4(texture2D(u_texture, v_texCoords).rgb, 1.0);
}