Shader特效——实现“抗锯齿(AntiAliasing)”【GLSL】 ... 左三使用了fwidth+smoothstep进行点采样,fwidth的效果相当于. 1w = fwidth(uv); 2// 同上 3w.x = abs(dFdx(uv)) ...
確定! 回上一頁