Skip to content

FilmicGrainPlugin

ExampleSource CodeAPI Reference

FilmicGrainPlugin adds a post-processing material extension to the ScreenPass in render manager that applies a filmic-grain effect to the final render. The parameters power and color can be changed to customize the effect.

typescript
import {ThreeViewer, FilmicGrainPlugin} from 'threepipe'

const viewer = new ThreeViewer({...})

const filmicGrainPlugin = viewer.addPluginSync(FilmicGrainPlugin)

// Change the filmicGrain color
filmicGrainPlugin.intensity = 10
filmicGrainPlugin.multiply = false

ThreePipe - Make 3D applications on the web