function
set_directional_light([_light])
Sets uniforms bbmod_LightDirectionalDir
and bbmod_LightDirectionalColor
.
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
.
Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.