Class CustomEffect

With this, you can just provide your vertex and fragment shader to make a customized postprocessing effect.

Demo: https://kokomi-playground.vercel.app/entries/#volumetricLight

Hierarchy (view full)

Constructors

Properties

base: Base
composer: EffectComposer<WebGLRenderTarget<Texture>>
container: Scene
customPass: ShaderPass
emitter: Emitter<any>
uniformInjector: UniformInjector

Methods