Capítulo 498 de 859
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;
Constructor
| Signature |
|---|
new ToonOutlinePassNode( scene : Scene, camera : Camera, colorNode : Node, thicknessNode : Node, alphaNode : Node ) |
Properties
| Property | Description |
|---|---|
.alphaNode : Node | Defines the outline's alpha. |
.colorNode : Node | Defines the outline's color. |
.name : string | The name of this pass. |
.thicknessNode : Node | Defines the outline's thickness. |