Inheritance: EventDispatcher → Node → TempNode →
Post processing node for creating dot-screen effect.
DotScreenNode is an addon, and must be imported explicitly, see Installation#Addons.
import { dotScreen } from 'three/addons/tsl/display/DotScreenNode.js';
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 1.57.
scale
The scale of the effect. A higher value means smaller dots.
Default is 1.
A uniform node that represents the rotation of the effect in radians.
The node that represents the input of the effect.
A uniform node that represents the scale of the effect. A higher value means smaller dots.
This method is used to setup the effect's TSL code.
builder
The current node builder.
Overrides: TempNode#setup