Constructor
new PixelationNode( textureNode : TextureNode, depthNode : TextureNode, normalNode : TextureNode, pixelSize : Node.<float>, normalEdgeStrength : Node.<float>, depthEdgeStrength : Node.<float> )
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. |
Properties
.depthEdgeStrength : Node.<float>
The depth edge strength.
.depthNode : TextureNode
The texture that represents the beauty's depth.
.normalEdgeStrength : Node.<float>
The pixel size.
.normalNode : TextureNode
The texture that represents the beauty's normals.
.textureNode : TextureNode
The texture node that represents the beauty pass.
.updateBeforeType : string
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
Methods
.setup( builder : NodeBuilder ) : ShaderCallNodeInternal
This method is used to setup the effect's TSL code.
| builder |
The current node builder. |
- Overrides: TempNode#setup
.updateBefore( frame : NodeFrame )
This method is used to update uniforms once per frame.
| frame |
The current node frame. |
- Overrides: TempNode#updateBefore