[Ask][GLSL] which is faster, ternary conditional or mix.clamp.sign? ... float a,b,c,d,e; e = mix(c, d, clamp(sign(a - b), 0, 1));.
確定! 回上一頁