Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uniform float time;
- void main() {
- vec2 center = vec2(0.5, 0.5);
- if(distance(gl_TexCoord[0].st,center)<0.2)
- gl_FragColor = vec4(1,0,0,1);
- else
- gl_FragColor = vec4(1,1,1,1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement