set_punctual_lights

function

set_punctual_lights([_lights])

Description

Sets uniforms bbmod_LightPunctualDataA and bbmod_LightPunctualDataB.

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.

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.