File: TransitionNode.md | Updated: 11/15/2025
Post processing node for creating a transition effect between scenes.
TransitionNode is an addon, and must be imported explicitly, see Installation#Addons.
import { transition } from 'three/addons/tsl/display/TransitionNode.js';
Constructs a new transition node.
textureNodeA | A texture node that represents the beauty pass of the first scene.
---|---
textureNodeB | A texture node that represents the beauty pass of the second scene.
mixTextureNode | A texture node that defines how the transition effect should look like.
mixRatioNode | The interpolation factor that controls the mix.
thresholdNode | Can be used to tweak the linear interpolation.
useTextureNode | Whether mixTextureNode should influence the transition or not.
The interpolation factor that controls the mix.
A texture that defines how the transition effect should look like.
A texture node that represents the beauty pass of the first scene.
A texture node that represents the beauty pass of the second scene.
Can be used to tweak the linear interpolation.
Whether mixTextureNode should influence the transition or not.
This method is used to setup the effect's TSL code.
builder | The current node builder.
---|---
Overrides: TempNode#setup