BBMOD_BaseShader.set_point_lights DEPRECATED

A function defined in BBMOD_BaseShader.gml

set_point_lights([_lights])

Description

Sets uniforms BBMOD_U_LIGHT_PUNCTUAL_DATA_A and BBMOD_U_LIGHT_PUNCTUAL_DATA_B.

Arguments

Name Type Description
_lights Array<Struct.BBMOD_PointLight> An array of point lights. If undefined, then the lights defined using bbmod_light_point_add are passed. Only enabled lights will be used!

Returns

Struct.BBMOD_BaseShader Returns self.

Deprecated

Please use bbmod_shader_set_punctual_lights instead.

Do you find this page helpful?

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