... vec4 y) { return abs(sign(x - y)); } b = mix(a1, a2, when_neq(x, 0));. 如果使用HLSL,则应用 lerp 函数取代GLSL中的 mix 函数 ...
確定! 回上一頁