Guest User

Untitled

a guest
Aug 10th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. uniform sampler2D baseTexture;
  2.  
  3. void main(void)
  4. {
  5. vec2 uv = gl_TexCoord[0].st;
  6. vec4 base = texture2D(baseTexture, uv);
  7. gl_FragColor = vec4(base.rgb * gl_Color.rgb, base.a);
  8. }
Add Comment
Please, Sign In to add comment