Bad rendering?


As you can see screw is outside of box but it’s in center of box
And Box is on top of floor(gray) but you can see it behind it?
What is problem?

That means you use shaders that either does not write to the depth buffer or that doesn’t perform a depth test.