Constructor

new()

Variables

additiveLighting:Bool

In the additive lighting model (by default), the lights are added after the ambient. In the new non additive ligthning model, the lights will be modulated against the ambient, so an ambient of 1 will reduce lights intensities to 0.

@:value(6)maxLightsPerObject:Int = 6

@:value(true)perPixelLighting:Bool = true

Methods

Inherited Variables

Defined by LightSystem

Inherited Methods