Skip to content

Commit

Permalink
fix: tree-shake postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed May 26, 2023
1 parent b28d498 commit de4834d
Show file tree
Hide file tree
Showing 16 changed files with 1,121 additions and 1,128 deletions.
56 changes: 28 additions & 28 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,34 +131,34 @@ export * from './controls/TrackballControls'
export * from './controls/OrbitControls'
export * from './controls/ArcballControls'
export * from './controls/FlyControls'
// export * from './postprocessing/LUTPass'
// export * from './postprocessing/ClearPass'
// export * from './postprocessing/GlitchPass'
// export * from './postprocessing/HalftonePass'
// export * from './postprocessing/SMAAPass'
// export * from './postprocessing/FilmPass'
// export * from './postprocessing/OutlinePass'
// export * from './postprocessing/SSAOPass'
// export * from './postprocessing/SavePass'
// export * from './postprocessing/BokehPass'
// export * from './postprocessing/Pass'
// export * from './postprocessing/TexturePass'
// export * from './postprocessing/AdaptiveToneMappingPass'
// export * from './postprocessing/UnrealBloomPass'
// export * from './postprocessing/CubeTexturePass'
// export * from './postprocessing/SAOPass'
// export * from './postprocessing/AfterimagePass'
// export * from './postprocessing/MaskPass'
// export * from './postprocessing/EffectComposer'
// export * from './postprocessing/DotScreenPass'
// export * from './postprocessing/SSRPass'
// export * from './postprocessing/TAARenderPass'
// export * from './postprocessing/ShaderPass'
// export * from './postprocessing/SSAARenderPass'
// export * from './postprocessing/RenderPass'
// export * from './postprocessing/RenderPixelatedPass'
// export * from './postprocessing/BloomPass'
// export * from './postprocessing/WaterPass'
export * from './postprocessing/LUTPass'
export * from './postprocessing/ClearPass'
export * from './postprocessing/GlitchPass'
export * from './postprocessing/HalftonePass'
export * from './postprocessing/SMAAPass'
export * from './postprocessing/FilmPass'
export * from './postprocessing/OutlinePass'
// export * from './postprocessing/SSAOPass' //
export * from './postprocessing/SavePass'
export * from './postprocessing/BokehPass'
export * from './postprocessing/Pass'
export * from './postprocessing/TexturePass'
export * from './postprocessing/AdaptiveToneMappingPass'
// export * from './postprocessing/UnrealBloomPass' //
export * from './postprocessing/CubeTexturePass'
// export * from './postprocessing/SAOPass' //
export * from './postprocessing/AfterimagePass'
export * from './postprocessing/MaskPass'
export * from './postprocessing/EffectComposer'
export * from './postprocessing/DotScreenPass'
// export * from './postprocessing/SSRPass' //
export * from './postprocessing/TAARenderPass'
export * from './postprocessing/ShaderPass'
export * from './postprocessing/SSAARenderPass'
export * from './postprocessing/RenderPass'
export * from './postprocessing/RenderPixelatedPass'
export * from './postprocessing/BloomPass'
export * from './postprocessing/WaterPass'
export * from './webxr/ARButton'
// export * from './webxr/OculusHandModel' //
// export * from './webxr/OculusHandPointerModel' //
Expand Down
4 changes: 2 additions & 2 deletions src/postprocessing/AdaptiveToneMappingPass.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { WebGLRenderTarget, ShaderMaterial } from 'three'

import { Pass } from './Pass'
import { Pass, FullScreenQuad } from './Pass'

export class AdaptiveToneMappingPass extends Pass {
constructor(adaptive?: boolean, resolution?: number)
Expand All @@ -16,7 +16,7 @@ export class AdaptiveToneMappingPass extends Pass {
adaptLuminanceShader: object
materialAdaptiveLum: ShaderMaterial
materialToneMap: ShaderMaterial
fsQuad: object
fsQuad: FullScreenQuad

reset(): void
setAdaptive(adaptive: boolean): void
Expand Down
Loading

0 comments on commit de4834d

Please sign in to comment.