Optional options: BloomEffectOptionsReadonly blendThe blend mode of this effect.
Readonly blurA blur pass.
Use mipmapBlurPass instead.
Readonly definesPreprocessor macro definitions.
Call setChanged after changing macro definitions.
Readonly extensionsWebGL extensions that are required by this effect.
Call setChanged after adding or removing extensions.
Readonly luminanceA luminance shader pass.
This pass can be disabled to skip luminance filtering.
Readonly mipmapA mipmap blur pass.
The name of this effect.
Protected rendererThe renderer.
A selection of objects.
The default layer of this selection is 11.
Readonly uniformsShader uniforms.
Call 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.
Indicates whether the background colors will be ignored.
Experimental
The input color space.
Protected Experimental
The bloom intensity.
Indicates whether the selection should be considered inverted.
The blur kernel size.
Use blurPass.kernelSize instead.
The luminance material.
获取亮度平滑度
SelectiveBloomEffectAdvanced
设置亮度平滑度
SelectiveBloomEffectAdvanced
获取亮度阈值
SelectiveBloomEffectAdvanced
设置亮度阈值
SelectiveBloomEffectAdvanced
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
获取模糊半径
SelectiveBloomEffectAdvanced
设置模糊半径
SelectiveBloomEffectAdvanced
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.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
禁用指定渲染组件的曝光效果
待禁用曝光的渲染组件
是否递归
SelectiveBloomEffectAdvanced
禁用指定实体曝光效果
待禁用曝光的实体对象
是否递归
SelectiveBloomEffectAdvanced
Fire an event type.
The event that gets fired.
Performs a shallow search for properties that define a dispose method and deletes them.
The EffectComposer calls this method when it is being destroyed.
曝光指定渲染组件
待曝光的渲染组件
是否递归
SelectiveBloomEffectAdvanced
曝光指定实体
是否递归
SelectiveBloomEffectAdvanced 待曝光的实体对象
Returns the effect attributes.
The attributes.
Returns the blur pass.
The blur pass.
Use blurPass instead.
Returns the WebGL extensions that are required by this effect.
The extensions.
Use extensions instead.
Returns the luminance material.
The material.
Use luminanceMaterial instead.
Returns the luminance pass.
The luminance pass.
Use luminancePass instead.
Returns the resolution settings.
The resolution.
Use resolution instead.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
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.
Protected setProtected set切换指定渲染组件的曝光效果
待切换曝光效果的渲染组件
是否递归
SelectiveBloomEffectAdvanced
切换指定实体的曝光效果
是否递归
SelectiveBloomEffectAdvanced 待切换的曝光效果的实体
Updates 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.
基于SelectiveBloomEffect封装的选择曝光后处理效果
Export
Date
2025.10.15
Author
lyx