D3d_light_define_ambient - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Sets the color of the ambient lighting when rendering with all subsequent draw calls. Basically when the objects dont have any lighting by default ENIGMA & Game Maker.

Parameters

  • color: color to set the ambient lighting to

Return Values

none: This function has no return values.

Example Call

// demonstrates setting the ambient lighting color to red
d3d_light_define_ambient(c_red);

NOTOC