Alternatively, the built-in GLSL function mix can be used ( mix(a, b, w) = b*w + a*(1.0-w) ), which is likely to be more efficient.
確定! 回上一頁