終於試了如何把"IF - ELSE" 用"step() + lerp()" 來實現; 簡單來說: result = (in < x) ? a : b --> result ... http://developer.download.nvidia.com/cg/step.html.
確定! 回上一頁