Import
DotScreenNode is an addon, and must be imported explicitly, see Installation#Addons.
import { dotScreen } from 'three/addons/tsl/display/DotScreenNode.js';
Constructor
new DotScreenNode( inputNode : Node, angle : number | Node.<float>, scale : number | Node.<float> )
Constructs a new dot screen node.
| inputNode |
The node that represents the input of the effect. |
| angle |
The rotation of the effect in radians. Default is |
| scale |
The scale of the effect. A higher value means smaller dots. Default is |
Properties
Methods
.setup( builder : NodeBuilder ) : ShaderCallNodeInternal
This method is used to setup the effect's TSL code.
| builder |
The current node builder. |
- Overrides: TempNode#setup