使用smoothstep 平滑函数,根据RampSmooth 对色阶之间进行过渡。 fixed3 ramp = smoothstep(_RampThreshold - _RampSmooth * 0.5, _RampThreshold + ...
確定! 回上一頁