class LightingPass
package away3d.materials.passes
extends CompiledPass › MaterialPassBase
Available on all platforms
LightingPass is a shader pass that uses shader methods to compile a complete program. It only includes the lighting methods. It's used by multipass materials to accumulate lighting passes.
See also:
away3d.materials.MultiPassMaterialBase
Constructor
new(material:MaterialBase)
Creates a new LightingPass objects.
Parameters:
material | The material to which this pass belongs. |
|---|
Variables
directionalLightsOffset:UInt
Indicates the offset in the light picker's directional light vector for which to start including lights. This needs to be set before the light picker is assigned.
lightProbesOffset:UInt
Indicates the offset in the light picker's light probes vector for which to start including lights. This needs to be set before the light picker is assigned.
pointLightsOffset:UInt
Indicates the offset in the light picker's point light vector for which to start including lights. This needs to be set before the light picker is assigned.