Import
FilmNode is an addon, and must be imported explicitly, see Installation#Addons.
import { film } from 'three/addons/tsl/display/FilmNode.js';
Constructor
new FilmNode( inputNode : Node, intensityNode : Node.<float>, uvNode : Node.<vec2> )
Constructs a new film node.
| inputNode |
The node that represents the input of the effect. |
| intensityNode |
A node that represents the effect's intensity. Default is |
| uvNode |
A node that allows to pass custom (e.g. animated) uv data. Default is |
Properties
.intensityNode : Node.<float>
A node that represents the effect's intensity.
Default is null.
Methods
.setup( builder : NodeBuilder ) : ShaderCallNodeInternal
This method is used to setup the effect's TSL code.
| builder |
The current node builder. |
- Overrides: TempNode#setup