@luma.gl/shadertools
Version:
Shader module system for luma.gl
9 lines (7 loc) • 304 B
TypeScript
import {ShaderPass} from '../../types';
/**
* @filter Vibrance
* @description Modifies the saturation of desaturated colors, leaving saturated colors unmodified.
* @param amount -1 to 1 (-1 is minimum vibrance, 0 is no change, and 1 is maximum vibrance)
*/
export const vibrance: ShaderPass;