function
set_ambient_light([_up[, _down[, _dir]]])
Sets the bbmod_LightAmbientUp
, bbmod_LightAmbientDown
uniforms.
Name | Type | Description |
---|---|---|
_up | Struct.BBMOD_Color |
Ambient light color on the upper hemisphere. If undefined , then the value set by bbmod_light_ambient_set_up is used. |
_down | Struct.BBMOD_Color |
Ambient light color on the lower hemisphere. If undefined , then the value set by bbmod_light_ambient_set_down is used. |
_up | Struct.BBMOD_Vec3 |
Direction to the ambient light's upper hemisphere. If undefined , then the value set by bbmod_light_ambient_set_dir is used. |
Struct.BBMOD_BaseShader
Returns self
.
Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.