Skip to content

@modoki/engine / index / MAX_SHADER_POINT_LIGHTS

Variable: MAX_SHADER_POINT_LIGHTS

const MAX_SHADER_POINT_LIGHTS: 4 = 4

Max point lights fed to a custom shader. Lights beyond this (by intensity) are dropped — the "X close point lights" cap in the light-picker design.

Built with Modoki.