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 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 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_BaseShader Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.