UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

13 lines (12 loc) 420 B
/** * Gamma Correction Shader * http://en.wikipedia.org/wiki/gamma_correction */ import type { IUniform, Texture } from 'three'; import type { IShader } from './types'; export type GammaCorrectionShaderUniforms = { tDiffuse: IUniform<Texture | null>; }; export interface IGammaCorrectionShader extends IShader<GammaCorrectionShaderUniforms> { } export declare const GammaCorrectionShader: IGammaCorrectionShader;