ShadowCasterPass is a shader pass that uses shader methods to compile a complete program. It only draws the lighting contribution for a single shadow-casting light.

See also:

  • away3d.materials.methods.ShadingMethodBase

Constructor

new(material:MaterialBase)

Creates a new ShadowCasterPass objects.

Parameters:

material

The material to which this pass belongs.

Inherited Variables

Inherited Methods

Defined by CompiledPass

dispose():Void

@inheritDoc

Defined by MaterialPassBase

setBlendMode(value:BlendMode):Void

The blend mode to use when drawing this renderable. The following blend modes are supported:

  • BlendMode.NORMAL: No blending, unless the material inherently needs it
  • BlendMode.LAYER: Force blending. This will draw the object the same as NORMAL, but without writing depth writes.
  • BlendMode.MULTIPLY
  • BlendMode.ADD
  • BlendMode.ALPHA