Add an option to depth test primitives against terrain.