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

11 lines
173 B
GLSL

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