13 lines
420 B
TypeScript
13 lines
420 B
TypeScript
/**
|
|
* 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;
|