Skip to content

Commit

Permalink
Examples: Introduce OutputPass.
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jul 1, 2023
1 parent 15e0d2d commit 156e427
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions types/three/examples/jsm/postprocessing/OutputPass.d.ts
Original file line number Diff line number Diff line change
@@ -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;
}
10 changes: 10 additions & 0 deletions types/three/examples/jsm/shaders/OutputShader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { IUniform } from '../../../src/Three';

export const OutputShader: {
uniforms: {
tDiffuse: IUniform;
toneMappingExposure: IUniform;
};
vertexShader: string;
fragmentShader: string;
};

0 comments on commit 156e427

Please sign in to comment.