Import
OITPassNode is an addon, and must be imported explicitly, see Installation#Addons.
import { oitPass } from 'three/addons/tsl/display/OITPassNode.js';
Constructor
new OITPassNode( scene : Scene, camera : Camera, options : Object )
Constructs a new OIT pass node.
| scene |
The scene to render. |
| camera |
The camera to render the scene with. |
| options |
Options for the internal render target. Default is |
Properties
.isOITPassNode : boolean (readonly)
This flag can be used for type testing.
Default is true.
.weightNode : Node.<float>
The depth-based weight of a transparent fragment, see equations (7) to (9)
in the paper. When null, equation (9) is used. Must be assigned before
the first render.
Default is null.