A function defined in BBMOD_BaseShader.gml
set_punctual_lights([_lights])
Sets uniforms BBMOD_U_LIGHT_PUNCTUAL_DATA_A and BBMOD_U_LIGHT_PUNCTUAL_DATA_B.
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! |
Struct.BBMOD_BaseShader
Returns self
.
Please use bbmod_shader_set_punctual_lights instead.
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.