Capítulo 411 de 859
Post processing node for creating a film grain effect.
import { film } from 'three/addons/tsl/display/FilmNode.js';
Constructor
| Signature |
|---|
new FilmNode( inputNode : Node, intensityNode : Node.<float>, uvNode : Node.<vec2> ) |
Properties
| Property | Description |
|---|---|
.inputNode : Node | The node that represents the input of the effect. |
.intensityNode : Node.<float> | A node that represents the effect's intensity. |
.uvNode : Node.<vec2> | A node that allows to pass custom (e.g. animated) uv data. |
Methods
| Method | Description |
|---|---|
.setup( builder : NodeBuilder ) : ShaderCallNodeInternal | This method is used to setup the effect's TSL code. |