Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. varying vec2 texcoord;
  2.  
  3. uniform sampler2D sampler ;
  4. const vec4 color = vec4(...);
  5.  
  6. void main()
  7. {
  8. gl_FragColor = color*texture2D(sampler,texcoord);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement