| 12345678910111213141516171819202122 |
- #ifdef OPENGL_ES
- #ifdef GL_FRAGMENT_PRECISION_HIGH
- precision highp float;
- #else
- precision mediump float;
- #endif
- #endif
- ///////////////////////////////////////////////////////////
- // Uniforms
- uniform sampler2D u_texture;
- ///////////////////////////////////////////////////////////
- // Varyings
- varying vec2 v_texCoord;
- varying vec4 v_color;
- void main()
- {
- gl_FragColor = v_color * texture2D(u_texture, v_texCoord);
- }
|