axmol/tests/cpp-tests/Resources/Shaders/example_Normal.fsh

13 lines
195 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
varying vec4 v_fragmentColor;
varying vec2 v_texCoord;
uniform sampler2D u_tex0;
void main(void)
{
gl_FragColor = texture2D(u_tex0, v_texCoord);
}