I want to get an accurate modulo of x and y in a WebGL fragment shader. x and y are integers.Graphing mod(x,y), we get the following: The actual code used ...
確定! 回上一頁