Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #ifdef GL_ES
  2. precision mediump float;
  3. #endif
  4.  
  5. void main(void)
  6. {
  7. float alpha = 1.0-length((gl_PointCoord-0.5)*2.0);
  8. gl_FragColor = vec4(1.0,1.0,1.0,alpha);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement