1234567891011121314151617181920212223242526272829303132 |
- const char* cc3D_Particle_tex_frag = R"(
- #ifdef GL_ES
- varying mediump vec2 TextureCoordOut;
- varying mediump vec4 ColorOut;
- #else
- varying vec4 ColorOut;
- varying vec2 TextureCoordOut;
- #endif
- uniform vec4 u_color;
- void main(void)
- {
- gl_FragColor = texture2D(CC_Texture0, TextureCoordOut) * ColorOut * u_color;
- }
- )";
- const char* cc3D_Particle_color_frag = R"(
- #ifdef GL_ES
- varying mediump vec4 ColorOut;
- #else
- varying vec4 ColorOut;
- #endif
- uniform vec4 u_color;
- void main(void)
- {
- gl_FragColor = ColorOut * u_color;
- }
- )";
|