SHARE
TWEET
Untitled
a guest
Sep 24th, 2014
202
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- void main(void)
- {
- vec2 center = vec2(iResolution.x / 2.0, iResolution.y / 2.0);
- float distance = distance(center, gl_FragCoord.xy);
- if(distance < 60.0)
- {
- gl_FragColor = vec4(.9, .9, .9, 1.0);
- }
- else
- {
- gl_FragColor = vec4(.2, .2, .4, 1.0);
- }
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
