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

11 lines
173 B
Plaintext
Raw Normal View History

2015-05-26 17:21:35 +08:00
#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);
}