Constructs a new bloom effect.
Optional
options: BloomEffectOptionsThe options.
Readonly
blendThe blend mode of this effect.
A blur pass.
Readonly
definesPreprocessor macro definitions.
Call Effect.setChanged after changing macro definitions.
Readonly
extensionsWebGL extensions that are required by this effect.
Call Effect.setChanged after adding or removing extensions.
A luminance shader pass.
This pass can be disabled to skip luminance filtering.
The name of this effect.
Protected
rendererThe renderer.
Readonly
uniformsShader uniforms.
Call Effect.setChanged after adding or removing uniforms.
Use luminanceMaterial instead.
Indicates whether dithering is enabled.
Use EffectPass.fullscreenMaterial.dithering instead.
The current height of the internal render targets.
Use resolution.height instead.
Experimental
The input color space.
Protected
Experimental
The bloom intensity.
The blur kernel size.
Use blurPass.kernelSize instead.
The luminance material.
Sets the main camera.
Sets the main scene.
Experimental
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
Protected
Experimental
The resolution of this effect.
A texture that contains the intermediate result of this effect.
The current width of the internal render targets.
Use resolution.width instead.
Performs a shallow search for properties that define a dispose method and deletes them.
The EffectComposer calls this method when it is being destroyed.
Returns the effect attributes.
The attributes.
Returns the blur pass.
The blur pass.
Use blurPass instead.
Protected
setProtected
Sets the effect attributes.
Effects that have the same attributes will be executed in the order in which they were registered. Some attributes imply a higher priority.
The attributes.
Protected
setProtected
Informs the associated EffectPass that this effect requires a shader recompilation.
Should be called after changing macros or extensions and after adding/removing uniforms.
Sets the depth texture.
You may override this method if your effect requires direct access to the depth texture that is bound to the associated EffectPass.
A depth texture.
Optional
depthPacking: DepthPackingStrategiesThe depth packing.
Protected
setProtected
setUpdates this effect.
The renderer.
A frame buffer that contains the result of the previous pass.
Optional
deltaTime: numberThe time between the last frame and the current one in seconds.
A bloom effect.