File: module-BrightnessContrastShader.md | Updated: 11/15/2025
BrightnessContrastShader is an addon, and must be imported explicitly, see Installation#Addons.
import { BrightnessContrastShader } from 'three/addons/shaders/BrightnessContrastShader.js';
Brightness and contrast adjustment https://github.com/evanw/glfx.js. Brightness: -1 to 1 (-1 is solid black, 0 is no change, and 1 is solid white) Contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)