BBMOD_BaseShader.set_punctual_lights DEPRECATED

A function defined in BBMOD_BaseShader.gml

set_punctual_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_PunctualLight> An array of punctual lights. If undefined, then the lights defined using bbmod_light_punctual_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 April 16, 2024 using GMDoc.