It is the most readable, but we care more about speed than readability in this context. x += step(y, 0.5) * <complex formula>;. Using HLSL's step() function ( ...
確定! 回上一頁