diff --git a/api/classes/BloomEffectComposer.html b/api/classes/BloomEffectComposer.html index 1a7b219..7b4324f 100644 --- a/api/classes/BloomEffectComposer.html +++ b/api/classes/BloomEffectComposer.html @@ -1,6 +1,6 @@ BloomEffectComposer | threejs-postprocess

切り替え可能なUnrealBloomPassを内包したEffectComposer. BloomEffectComposer.BLOOMレイヤーに含まれるオブジェクトのみをBloomさせる.

-

Hierarchy

  • PostProcessEffectComposer
    • BloomEffectComposer

Constructors

Hierarchy

  • PostProcessEffectComposer
    • BloomEffectComposer

Constructors

Properties

Constructors

Properties

bloomPass: UnrealBloomPass
clock: Clock
copyPass: ShaderPass
enabled: boolean = true
onAfterRender?: ((delta?: number) => void)
onBeforeRender?: ((delta?: number) => void)
passes: Pass[]
readBuffer: WebGLRenderTarget<Texture>
renderTarget1: WebGLRenderTarget<Texture>
renderTarget2: WebGLRenderTarget<Texture>
renderToScreen: boolean
renderer: WebGLRenderer
switcher: MaterialSwitcher
writeBuffer: WebGLRenderTarget<Texture>
BLOOM: number = 30
ENTIRE: number = 0

Accessors

Methods

  • Parameters

    • pass: Pass

    Returns void

  • Returns void

  • Parameters

    • pass: Pass
    • index: number

    Returns void

  • Parameters

    • passIndex: number

    Returns boolean

  • Parameters

    • pass: Pass

    Returns void

  • Parameters

    • OptionaldeltaTime: number

    Returns void

  • Parameters

    • OptionalrenderTarget: WebGLRenderTarget<Texture>

    Returns void

  • Parameters

    • pixelRatio: number

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

  • Returns void

+

Constructors

Properties

bloomPass: UnrealBloomPass
clock: Clock
copyPass: ShaderPass
enabled: boolean = true
onAfterRender?: ((delta?: number) => void)
onBeforeRender?: ((delta?: number) => void)
passes: Pass[]
readBuffer: WebGLRenderTarget<Texture>
renderTarget1: WebGLRenderTarget<Texture>
renderTarget2: WebGLRenderTarget<Texture>
renderToScreen: boolean
renderer: WebGLRenderer
switcher: MaterialSwitcher
writeBuffer: WebGLRenderTarget<Texture>
BLOOM: number = 30
ENTIRE: number = 0

Accessors

Methods

  • Parameters

    • pass: Pass

    Returns void

  • Returns void

  • Parameters

    • pass: Pass
    • index: number

    Returns void

  • Parameters

    • passIndex: number

    Returns boolean

  • Parameters

    • pass: Pass

    Returns void

  • Parameters

    • OptionaldeltaTime: number

    Returns void

  • Parameters

    • OptionalrenderTarget: WebGLRenderTarget<Texture>

    Returns void

  • Parameters

    • pixelRatio: number

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

  • Returns void

diff --git a/api/classes/ChromaticAberrationShaderPass.html b/api/classes/ChromaticAberrationShaderPass.html index e0ef8d6..4547dda 100644 --- a/api/classes/ChromaticAberrationShaderPass.html +++ b/api/classes/ChromaticAberrationShaderPass.html @@ -1,7 +1,7 @@ ChromaticAberrationShaderPass | threejs-postprocess

Class ChromaticAberrationShaderPass

ポストプロセス用のShaderPass。 EffectComposerにPassとして追加することで、任意のポストエフェクトを実現する。

コンストラクターでPostProcessShaderを受け取り、そのシェーダーのuniformを操作する。

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -18,4 +18,4 @@

Methods

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

+

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

diff --git a/api/classes/ColorFilterShaderPass.html b/api/classes/ColorFilterShaderPass.html index d94537d..e85ace7 100644 --- a/api/classes/ColorFilterShaderPass.html +++ b/api/classes/ColorFilterShaderPass.html @@ -2,7 +2,7 @@

例 ) multiS = 0.0, addB = 1.0にすると白に飽和する。 multiB = 0.0, もしくはaddB = -1.0 でブラックアウト。

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -21,4 +21,4 @@

Methods

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

+

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

diff --git a/api/classes/DisplacementMapShaderPass.html b/api/classes/DisplacementMapShaderPass.html index aed9eb1..0282326 100644 --- a/api/classes/DisplacementMapShaderPass.html +++ b/api/classes/DisplacementMapShaderPass.html @@ -1,5 +1,5 @@ DisplacementMapShaderPass | threejs-postprocess

Class DisplacementMapShaderPass

DisplacementMapによって画面を歪ませるShaderPass

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
mapSizeH: number
mapSizeW: number
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
rendererSizeH: number
rendererSizeW: number
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • DisplacementMapを読み込む。 +

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
mapSizeH: number
mapSizeW: number
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
rendererSizeH: number
rendererSizeW: number
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

+

Parameters

Returns void

diff --git a/api/classes/FXAAShaderPass.html b/api/classes/FXAAShaderPass.html index 53c96da..6b892d4 100644 --- a/api/classes/FXAAShaderPass.html +++ b/api/classes/FXAAShaderPass.html @@ -1,5 +1,5 @@ FXAAShaderPass | threejs-postprocess

FXAAShaderを組み込み済みのShaderPass

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -14,4 +14,4 @@ render setSize

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

+

Returns FXAAShaderPass

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

diff --git a/api/classes/MixShaderPass.html b/api/classes/MixShaderPass.html index d54f108..60ea64d 100644 --- a/api/classes/MixShaderPass.html +++ b/api/classes/MixShaderPass.html @@ -1,5 +1,5 @@ MixShaderPass | threejs-postprocess

他のエフェクトコンポーザーの描画結果を受け取り、自身のレンダリング結果に乗算するShaderPass

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -14,4 +14,4 @@

Methods

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

+

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

diff --git a/api/classes/MonotoneShaderPass.html b/api/classes/MonotoneShaderPass.html index 11ec9d2..6e5e7a8 100644 --- a/api/classes/MonotoneShaderPass.html +++ b/api/classes/MonotoneShaderPass.html @@ -1,4 +1,4 @@ -MonotoneShaderPass | threejs-postprocess

Hierarchy (view full)

Constructors

constructor +MonotoneShaderPass | threejs-postprocess

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -14,4 +14,4 @@

Methods

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

+

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

diff --git a/api/classes/PeripheralLightShaderPass.html b/api/classes/PeripheralLightShaderPass.html index 15bda06..83d2293 100644 --- a/api/classes/PeripheralLightShaderPass.html +++ b/api/classes/PeripheralLightShaderPass.html @@ -1,5 +1,5 @@ PeripheralLightShaderPass | threejs-postprocess

Class PeripheralLightShaderPass

周辺光量の減光を表現するフィルタ。

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -17,4 +17,4 @@

Methods

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

+

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

diff --git a/api/classes/PostProcessRenderer.html b/api/classes/PostProcessRenderer.html index db1221c..15af31e 100644 --- a/api/classes/PostProcessRenderer.html +++ b/api/classes/PostProcessRenderer.html @@ -1,5 +1,5 @@ PostProcessRenderer | threejs-postprocess

複数のエフェクトコンポーザーと、WebGLRendererを管理し、連続してポストエフェクト処理を行うためのクラス。

-

Constructors

Constructors

Properties

Constructors

Properties

camera: PerspectiveCamera
renderer: WebGLRenderer
scene: Scene

Accessors

Methods

  • シェーダーパスを挟んだEffectComposerを生成、登録する。

    +

Constructors

Properties

camera: PerspectiveCamera
renderer: WebGLRenderer
scene: Scene

Accessors

Methods

  • シェーダーパスを挟んだEffectComposerを生成、登録する。

    Parameters

    • passes: Pass[]
    • OptionalrenderPass: RenderPass

      レンダリングパス。省略した場合は、sceneとcameraを利用して自動生成する。複数のコンポーザーで同じレンダリングパスを共有する場合は、この引数にインスタンスを渡す。

      -

    Returns PostProcessEffectComposer

+

Returns PostProcessEffectComposer

diff --git a/api/classes/PostProcessShader.html b/api/classes/PostProcessShader.html index e41c955..aa1a202 100644 --- a/api/classes/PostProcessShader.html +++ b/api/classes/PostProcessShader.html @@ -3,9 +3,9 @@

このクラスのインスタンスをShaderPassに渡すことで、任意のシェーダーエフェクトコンポーザーになる。 参照関係はPostProcessEffectComposer → PostProcessShaderPass → PostProcessShader

型としては、ShaderPassのコンストラクター第一引数に渡すオブジェクトに相当する。

-

Implements

Constructors

Implements

Constructors

Properties

fragmentShader: string
uniforms: {
    [uniform: string]: IUniform;
}
vertexShader: string = ...

Methods

+

Constructors

Properties

fragmentShader: string
uniforms: {
    [uniform: string]: IUniform;
}
vertexShader: string = ...

Methods

diff --git a/api/classes/PostProcessShaderPass.html b/api/classes/PostProcessShaderPass.html index 495777f..75a093b 100644 --- a/api/classes/PostProcessShaderPass.html +++ b/api/classes/PostProcessShaderPass.html @@ -1,7 +1,7 @@ PostProcessShaderPass | threejs-postprocess

Class PostProcessShaderPass

ポストプロセス用のShaderPass。 EffectComposerにPassとして追加することで、任意のポストエフェクトを実現する。

コンストラクターでPostProcessShaderを受け取り、そのシェーダーのuniformを操作する。

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clear enabled fsQuad @@ -15,4 +15,4 @@

Methods

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

+

Constructors

Properties

clear: boolean
enabled: boolean
fsQuad: FullScreenQuad
isPass: boolean
material: ShaderMaterial
needsSwap: boolean
renderToScreen: boolean
textureID: string
uniforms: {
    [uniform: string]: IUniform;
}

Accessors

Methods

  • Returns void

  • Parameters

    • renderer: WebGLRenderer
    • writeBuffer: WebGLRenderTarget<Texture>
    • readBuffer: WebGLRenderTarget<Texture>
    • deltaTime: number
    • maskActive: boolean

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

diff --git a/api/classes/RenderPassOption.html b/api/classes/RenderPassOption.html index 7c08cff..5efcf0d 100644 --- a/api/classes/RenderPassOption.html +++ b/api/classes/RenderPassOption.html @@ -2,9 +2,9 @@

sceneとcameraのセット、もしくはrenderPassインスタンスを代入する必要がある。 sceneとcameraのセットの場合 : RenderPassインスタンスを生成する。 renderPassインスタンスの場合 : そのままrenderPassインスタンスを利用する。

-

Constructors

Constructors

Properties

Methods

Constructors

Properties

camera?: Camera
renderPass?: RenderPass
scene?: Scene

Methods

+

Constructors

Properties

camera?: Camera
renderPass?: RenderPass
scene?: Scene

Methods

diff --git a/api/interfaces/IPostProcessShader.html b/api/interfaces/IPostProcessShader.html index cc585e3..c02a666 100644 --- a/api/interfaces/IPostProcessShader.html +++ b/api/interfaces/IPostProcessShader.html @@ -1,4 +1,4 @@ -IPostProcessShader | threejs-postprocess

Interface IPostProcessShader

interface IPostProcessShader {
    fragmentShader: string;
    uniforms: {
        [uniform: string]: IUniform;
    };
    vertexShader: string;
}

Implemented by

Properties

fragmentShader +IPostProcessShader | threejs-postprocess

Interface IPostProcessShader

interface IPostProcessShader {
    fragmentShader: string;
    uniforms: {
        [uniform: string]: IUniform;
    };
    vertexShader: string;
}

Implemented by

Properties

fragmentShader: string
uniforms: {
    [uniform: string]: IUniform;
}
vertexShader: string
+

Properties

fragmentShader: string
uniforms: {
    [uniform: string]: IUniform;
}
vertexShader: string