-
Notifications
You must be signed in to change notification settings - Fork 0
D3d_set_fog_enabled
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets whether fog is currently used so that it can be toggled without having to reset the other parameters each time.
- enable boolean value whether to enable fog or not
The function has no return values.
// Demonstrates setting the fog values and then toggling the fog without losing the color and extra paremters.
d3d_set_fog(true, c_teal, 1, 2000);
d3d_set_fog_enabled(false);
d3d_set_fog_enabled(true);NOTOC
This is number 1