VelocityNode

Last modified: Apr 1, 2025

A node for representing motion or velocity vectors. Foundation for advanced post processing effects like motion blur or TRAA.

The node keeps track of the model, view and projection matrices of the previous frame and uses them to compute offsets in NDC space. These offsets represent the final velocity.

Constructor

new VelocityNode()

Constructs a new vertex color node.

AccessorType

Properties

PropertyTypeDefault Value
projectionMatrixnull | Matrix4
previousModelWorldMatrixUniformNode<mat4>
previousProjectionMatrixUniformNode<mat4>
previousCameraViewMatrixUniformNode<mat4>
MethodType

Extends

TempNode

velocity

TSL object that represents the velocity of a render pass.

Type

VelocityNode