Advertisement
Guest User

Untitled

a guest
Feb 13th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #ifdef GL_ES
  2. #define LOWP lowp
  3. precision mediump float;
  4. #else
  5. #define LOWP
  6. #endif
  7. varying vec4 v_color;
  8. vec4 temp_color;
  9. void main(){
  10. if (v_color == vec4(1,1,1,1)){
  11. temp_color = vec4(0,1,0,1);
  12. }
  13. gl_FragColor = temp_color;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement