Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef GL_ES
- #define LOWP lowp
- precision mediump float;
- #else
- #define LOWP
- #endif
- varying vec4 v_color;
- vec4 temp_color;
- void main(){
- if (v_color == vec4(1,1,1,1)){
- temp_color = vec4(0,1,0,1);
- }
- gl_FragColor = temp_color;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement