Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 120
  2.  
  3. uniform float time; // passed in by ShaderHelper
  4.  
  5. uniform sampler2D tex; // passed in by callback
  6. uniform vec3 color;
  7.  
  8. void main() {
  9.     gl_FragColor = texture2D(tex, gl_TexCoord[0]) * vec4(color, 1);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement