UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

22 lines (21 loc) 549 B
/** * 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) */ export declare const BrightnessContrastShader: { uniforms: { tDiffuse: { value: null; }; brightness: { value: number; }; contrast: { value: number; }; }; vertexShader: string; fragmentShader: string; };