float mod(float x, float y) { return x - y * floor(x/y) }. By contrast to GLSL mod , MSDN says the HLSL fmod function does this:.
確定! 回上一頁