Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- varying vec2 texcoord;
- uniform sampler2D sampler ;
- const vec4 color = vec4(...);
- void main()
- {
- gl_FragColor = color*texture2D(sampler,texcoord);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement