Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #version 110
  2.  
  3. uniform float fade_factor;
  4. uniform sampler2D textures[2];
  5.  
  6. varying vec2 texcoord;
  7.  
  8. void main() {
  9. gl_FragColor = mix(
  10. texture2D(textures[0], texcoord),
  11. texture2D(textures[1], texcoord),
  12. fade_factor
  13. );
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement