Computer Graphics, Opengl, 3d Modeling, 3d Design.
float gl_FragDepth; The attribute has to be ‘depth_less’, as |F(z)| < |gl_Position.z/gl_Position.w| for the domain -far < z < -near. It will not enable the early depth test, as the fragment shader could bring the pixel forward with a less Z-coordinate in SCS. ( To enable the early depth test with