File: ParallaxBarrierPassNode.md | Updated: 11/15/2025
A render pass node that creates a parallax barrier effect.
ParallaxBarrierPassNode is an addon, and must be imported explicitly, see Installation#Addons.
import { parallaxBarrierPass } from 'three/addons/tsl/display/ParallaxBarrierPassNode.js';
Constructs a new parallax barrier pass node.
scene | The scene to render.
---|---
camera | The camera to render the scene with.
This flag can be used for type testing.
Default is true.
This method is used to setup the effect's TSL code.
builder | The current node builder.
---|---
Overrides: StereoCompositePassNode#setup