set_directional_light

function

set_directional_light([_light])

Description

Sets uniforms bbmod_LightDirectionalDir and bbmod_LightDirectionalColor.

Arguments

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.

Returns

Struct.BBMOD_BaseShader Returns self.

See also

BBMOD_DirectionalLight

Do you find this page helpful?

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