summit/frontend/node_modules/three-stdlib/shaders/BrightnessContrastShader.d.ts

22 lines
549 B
TypeScript

/**
* 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;
};