I found this shader trick: float d = dot(cameraDir,cameraPos - vertexPos); if (d < 0.5) { vertexPos += cameraDir * (d - 0.5); vertexNormal = ...
確定! 回上一頁