Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. varying vec4 v_color;
  2. varying vec2 v_texCoord0;
  3.  
  4. uniform sampler2D u_sampler2D;
  5.  
  6. void main()
  7. {
  8. vec4 col = texture2D(u_sampler2D, v_texCoord0) * v_color;
  9.  
  10. gl_FragColor = vec4(min(col.x+0.1,1),col.y,col.z,col.w);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement