Change DepthTest condition

Is there a way to change the depth test condition?

Right now it’s forced to GL_LEQUAL.



But maybe there is a way around this, what are you trying to do?

I’m toying around with deferred shading and I need the change the depth testing when rendering light volumes and the camera is inside it.