Skip to content

@modoki/engine / rendering / updateSceneLightUniforms

Function: updateSceneLightUniforms() ​

updateSceneLightUniforms(world): void

Refresh the singleton uniforms from the current scene lights. No-op until a shader has bound the uniforms (so lightless scenes pay nothing). Called at the end of syncLights, once per rendered frame.

Parameters ​

world ​

World

Returns ​

void

Built with Modoki.