D3d set hidden

Explanation
When hidden surface removal is on, it basically means that only pixels that can be seen (not covered by other objects) will be drawn. Be aware that putting 2 large flat surfaces close together (ie 1 floor on top of another) is likely to cause some ugly effects. To solve this, you can manually assign depths to objects (the same variable as in 2D).