float isTwo = fmod(floor(p.y * N), 2.0); // even column. float isOne = 1.0-isTwo; ... Just change the above code to hlsl, or simply use string body directly.
確定! 回上一頁