... { vec3 pos = ro + rd * t; vec2 ins = step(b.xz, pos.xz) - step(a.xz, pos.xz); if(ins.x * ins.y > 0.0) { nor = vec3(0.0, 1.0, ...
確定! 回上一頁