Creates a new DistanceRender object.
The material to which this pass belongs.
Indicates whether or not the renderable requires alpha blending during rendering.
Clears the render state for the pass. This needs to be called before activating another pass.
Initializes the unchanging constant data for this material.
Adds a pass to the surface
Removes all passes from the surface
Removes a pass from the surface.
The pass to be removed.
Performs any processing that needs to occur before any of its passes are used.
Renders the current pass. Before calling pass, activatePass needs to be called with the same index.
The IRenderable object to draw.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Remove an event listener
Generated using TypeDoc
DistanceRender is a pass that writes distance values to a depth map as a 32-bit value exploded over the 4 texture channels. This is used to render omnidirectional shadow maps.