Capítulo 446 de 859
A render pass node that creates a parallax barrier effect.
import { parallaxBarrierPass } from 'three/addons/tsl/display/ParallaxBarrierPassNode.js';
Constructor
| Signature |
|---|
new ParallaxBarrierPassNode( scene : Scene, camera : Camera ) |
Properties
| Property | Description |
|---|---|
.isParallaxBarrierPassNode : boolean (readonly) | This flag can be used for type testing. |
Methods
| Method | Description |
|---|---|
.setup( builder : NodeBuilder ) : PassTextureNode | This method is used to setup the effect's TSL code. |