BBMOD_BaseShader.set_directional_light DEPRECATED

A function defined in BBMOD_BaseShader.gml

set_directional_light([_light])

Description

Sets uniforms BBMOD_U_LIGHT_DIRECTIONAL_DIR and BBMOD_U_LIGHT_DIRECTIONAL_COLOR.

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

Deprecated

Please use bbmod_shader_set_directional_light instead.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.