color.a =1- smoothstep(radius - _Factor ,radius, length(0.5 - IN.texcoord.xy) ) ;. 最終效果太極圖案就繪製出來了。 整個frag代碼整合如下:.
確定! 回上一頁