Files
wnmj-normal/cocos2d/tests/cpp-tests/Resources/Shaders/example_3D_PositionTex.fsh

13 lines
208 B
Plaintext
Raw Normal View History

2026-03-03 13:56:44 +08:00
#ifdef GL_ES
varying mediump vec2 TextureCoordOut;
#else
varying vec2 TextureCoordOut;
#endif
uniform vec4 u_color;
void main(void)
{
gl_FragColor = texture2D(CC_Texture0, TextureCoordOut) * u_color;
}