WebGL (like modern OpenGL and OpenGL ES) gets the depth value from the value you ... depthRange but assuming they are 0 and 1 then ndcZ = gl_Position.z ...
確定! 回上一頁