📄 threejs/Addons/TSL/FilmNode

File: FilmNode.md | Updated: 11/15/2025


title: FilmNode category: Addons layout: docs

FilmNode

Post processing node for creating a film grain effect.

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 null.
uvNode | A node that allows to pass custom (e.g. animated) uv data. Default is null.

Properties

.inputNode : Node

The node that represents the input of the effect.

.intensityNode : Node.<float>

A node that represents the effect's intensity.

Default is null.

.uvNode : Node.<vec2>

A node that allows to pass custom (e.g. animated) uv data.

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

Source

examples/jsm/tsl/display/FilmNode.js