We can do that in hlsl with the frac function. float rand(float3 vec){ float random = dot(vec, float3(12.9898, 78.233, 37.719)); random ...
確定! 回上一頁