One way to do a square pattern in glsl is with mod : vec2 uv = coord; float size = 1.0/8.0; // size of the tile float edge = size/32.0; ...
確定! 回上一頁