set_ambient_light

function

set_ambient_light([_up[, _down]])

Description

Sets the bbmod_LightAmbientUp, bbmod_LightAmbientDown uniforms.

Arguments

Name Type Description
_up Struct.BBMOD_Color/Undefined RGBM encoded 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/Undefined RGBM encoded ambient light color on the lower hemisphere. If undefined, then the value set by bbmod_light_ambient_set_down is used.

Returns

Struct.BBMOD_DefaultShader Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on April 11, 2022 using GMDoc.