GM: d3d set hidden

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is d3d_set_hidden(enable). It appears incorrectly here because of technical restrictions.

sd3d_set_hidden()

Type: function
Arguments: enable = True / False
Limitations: Registered

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).

This article was originally found at the Game Maker Knowledge Base, contributed by monkey dude.
See the talk page for details
Personal tools