Capítulo 407 de 859
Post processing node for creating dot-screen effect.
import { dotScreen } from 'three/addons/tsl/display/DotScreenNode.js';
Constructor
| Signature |
|---|
new DotScreenNode( inputNode : Node, angle : number, scale : number ) |
Properties
| Property | Description |
|---|---|
.angle : UniformNode.<float> | A uniform node that represents the rotation of the effect in radians. |
.inputNode : Node | The node that represents the input of the effect. |
.scale : UniformNode.<float> | A uniform node that represents the scale of the effect. A higher value means smaller dots. |
Methods
| Method | Description |
|---|---|
.setup( builder : NodeBuilder ) : ShaderCallNodeInternal | This method is used to setup the effect's TSL code. |