Inheritance: EventDispatcher → Node → TempNode → PassNode →
Represents a render pass for producing a toon outline effect on compatible objects. Only 3D objects with materials of type MeshToonMaterial and MeshToonNodeMaterial will receive the outline.
const postProcessing = new RenderPipeline( renderer );
const scenePass = toonOutlinePass( scene, camera );
postProcessing.outputNode = scenePass;
Constructs a new outline pass node.
scene
A reference to the scene.
camera
A reference to the camera.
colorNode
Defines the outline's color.
thicknessNode
Defines the outline's thickness.
alphaNode
Defines the outline's alpha.
Defines the outline's alpha.
Defines the outline's color.
The name of this pass.
Default is 'Outline Pass'.
Overrides: PassNode#name
Defines the outline's thickness.