diff --git a/types/three/OTHER_FILES.txt b/types/three/OTHER_FILES.txt index 8583e36ab..ff6f0f924 100644 --- a/types/three/OTHER_FILES.txt +++ b/types/three/OTHER_FILES.txt @@ -104,6 +104,7 @@ examples/jsm/postprocessing/HalftonePass.d.ts examples/jsm/postprocessing/LUTPass.d.ts examples/jsm/postprocessing/MaskPass.d.ts examples/jsm/postprocessing/OutlinePass.d.ts +examples/jsm/postprocessing/OutputPass.d.ts examples/jsm/postprocessing/RenderPass.d.ts examples/jsm/postprocessing/BloomPass.d.ts examples/jsm/postprocessing/SAOPass.d.ts @@ -145,6 +146,7 @@ examples/jsm/shaders/LuminosityHighPassShader.d.ts examples/jsm/shaders/LuminosityShader.d.ts examples/jsm/shaders/MirrorShader.d.ts examples/jsm/shaders/NormalMapShader.d.ts +examples/jsm/shaders/OutputShader.d.ts examples/jsm/shaders/RGBShiftShader.d.ts examples/jsm/shaders/SAOShader.d.ts examples/jsm/shaders/SepiaShader.d.ts diff --git a/types/three/examples/jsm/postprocessing/OutputPass.d.ts b/types/three/examples/jsm/postprocessing/OutputPass.d.ts new file mode 100644 index 000000000..fda8e1553 --- /dev/null +++ b/types/three/examples/jsm/postprocessing/OutputPass.d.ts @@ -0,0 +1,13 @@ +import { ShaderMaterial } from '../../../src/Three'; +import { ToneMapping } from '../../../src/constants'; + +import { Pass, FullScreenQuad } from './Pass'; + +export class OutputPass extends Pass { + constructor(toneMapping?: ToneMapping, toneMappingExposure?: number); + uniforms: object; + material: ShaderMaterial; + fsQuad: FullScreenQuad; + toneMapping: ToneMapping; + toneMappingExposure: number; +} diff --git a/types/three/examples/jsm/shaders/OutputShader.d.ts b/types/three/examples/jsm/shaders/OutputShader.d.ts new file mode 100644 index 000000000..a044f447e --- /dev/null +++ b/types/three/examples/jsm/shaders/OutputShader.d.ts @@ -0,0 +1,10 @@ +import { IUniform } from '../../../src/Three'; + +export const OutputShader: { + uniforms: { + tDiffuse: IUniform; + toneMappingExposure: IUniform; + }; + vertexShader: string; + fragmentShader: string; +};