Comments on: Circle, Disc and Fake Sphere in GLSL (Shader Library) https://www.geeks3d.com/20130705/shader-library-circle-disc-fake-sphere-in-glsl-opengl-glslhacker/ Graphics Cards and GPUs News, Graphics Programming, Home of FurMark Fri, 24 Nov 2017 14:35:29 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: JeGX https://www.geeks3d.com/20130705/shader-library-circle-disc-fake-sphere-in-glsl-opengl-glslhacker/#comment-31249 Fri, 05 Jul 2013 15:41:49 +0000 http://www.geeks3d.com/?p=8605#comment-31249 Thanks Nathan. I quickly ported the fake sphere demo without thinking to the antialiasing and as you said, the smoothstep function can help to antialiase.

]]>
By: Nathan https://www.geeks3d.com/20130705/shader-library-circle-disc-fake-sphere-in-glsl-opengl-glslhacker/#comment-31247 Fri, 05 Jul 2013 15:01:13 +0000 http://www.geeks3d.com/?p=8605#comment-31247 You can anti-alias the fake sphere’s edges by modifying the alpha channel with a smoothstep function. The one used in the Disc demo should do the trick, just adjust the values so it won’t be so thick.

]]>