The hlsl "equivalent" of glsl mod is fmod, which x % y is often equivalent to fmod(x, y) in hlsl (though not always!), unlike % in glsl ...
確定! 回上一頁