A function defined in BBMOD_BaseShader.gml
set_directional_light([_light])
Sets uniforms BBMOD_U_LIGHT_DIRECTIONAL_DIR and BBMOD_U_LIGHT_DIRECTIONAL_COLOR.
Name | Type | Description |
---|---|---|
_light | Struct.BBMOD_DirectionalLight |
The directional light. If undefined , then the value set by bbmod_light_directional_set is used. If the light is not enabled then it is not passed. |
Struct.BBMOD_BaseShader
Returns self
.
Please use bbmod_shader_set_directional_light instead.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.