Depth Mask

glDepthMask(GL_FALSE)

Depth testing still used, but depth buffer is not updated

Can be used to prevent transparent objects occluding each other

Result can be incorrect, but errors are less noticeable

next