我想在GLSL中绘制一个平滑的圆圈,但边框具有可变宽度,并使用单独的颜色。 ... abs(gl_FragCoord.y - position.y); if(sqrt(distanceX * distanceX + ...
確定! 回上一頁