Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 110
- uniform float fade_factor;
- uniform sampler2D textures[2];
- varying vec2 texcoord;
- void main() {
- gl_FragColor = mix(
- texture2D(textures[0], texcoord),
- texture2D(textures[1], texcoord),
- fade_factor
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement