GM: d3d set lighting
From GMpedia.org Wiki
|
d3d_set_lighting | |
| Type: | function |
| Arguments: | enable |
| Limitations: | Registered |
- The correct title of this article is d3d_set_lighting(). It appears incorrectly here because of technical restrictions.
The d3d_set_lighting() function enables or disables lighting.
When lighting is enabled, you will need to add lights to the world. Otherwise, all the primitives will be black.

