Indicates whether the screen projection should be calculated by forcing a separate scene matrix and view-projection matrix. This is used to prevent rounding errors when using multiple passes with different projection code.
Indicates whether the screen projection should be calculated by forcing a separate scene matrix and view-projection matrix. This is used to prevent rounding errors when using multiple passes with different projection code.
Indicates whether the output alpha value should remain unchanged compared to the material's original alpha.
Indicates whether the output alpha value should remain unchanged compared to the material's original alpha.
Sets the material state for the pass that is independent of the rendered object. This needs to be called before calling pass. Before activating a pass, the previously used pass needs to be deactivated.
Clears the render state for the pass. This needs to be called before activating another pass.
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
BasicMaterialPass forms an abstract base class for the default shaded materials provided by Stage, using material methods to define their appearance.