1234567891011121314151617 |
- #ifdef GL_ES
- precision lowp float;
- #endif
- varying vec4 v_fragmentColor;
- varying vec2 v_texCoord;
- void main()
- {
- vec4 c = texture2D(CC_Texture0, v_texCoord);
- float greyNum = 0.45;
- vec4 final = c;
- final.r = c.r * greyNum;
- final.g = c.g * greyNum;
- final.b = c.b * greyNum;
- gl_FragColor = final;
- }
|