Inheritance: EventDispatcher → Node → TempNode →
A inner node definition that implements the actual pixelation TSL code.
Constructs a new pixelation node.
textureNode
The texture node that represents the beauty pass.
depthNode
The texture that represents the beauty's depth.
normalNode
The texture that represents the beauty's normals.
pixelSize
The pixel size.
normalEdgeStrength
The normal edge strength.
depthEdgeStrength
The depth edge strength.
The depth edge strength.
The texture that represents the beauty's depth.
The pixel size.
The texture that represents the beauty's normals.
The pixel size.
The texture node that represents the beauty pass.
The updateBeforeType is set to NodeUpdateType.FRAME since the node updates its internal uniforms once per frame in updateBefore().
Default is 'frame'.
Overrides: TempNode#updateBeforeType
This method is used to setup the effect's TSL code.
builder
The current node builder.
Overrides: TempNode#setup
This method is used to update uniforms once per frame.
frame
The current node frame.
Overrides: TempNode#updateBefore