BloomPassProxy

BloomPassProxy

BloomPassProxy是PassNodeProxy的一个子类,用于代理Bloom(泛光)后处理特效的Pass节点。

Constructor

new BloomPassProxy()

Source:

Extends

Members

radius :number

Description:
  • The radius of the bloom. Must be in the range [0,1].

Source:
Default Value:
  • 0.0

The radius of the bloom. Must be in the range [0,1].

Type:
  • number

smoothWidth :number

Description:
  • Can be used to tweak the extracted luminance from the scene.

Source:
Default Value:
  • 0.01

Can be used to tweak the extracted luminance from the scene.

Type:
  • number

strength :number

Description:
  • The strength of the bloom.

Source:
Default Value:
  • 0.5

The strength of the bloom.

Type:
  • number

threshold :number

Description:
  • The luminance threshold limits which bright areas contribute to the bloom effect.

Source:
Default Value:
  • 0.0

The luminance threshold limits which bright areas contribute to the bloom effect.

Type:
  • number

Methods

build(inputNode, outputNode) → {TextureNode}

Description:
  • 构建Bloom Pass节点。

Source:
Parameters:
Name Type Description
inputNode TextureNode

输入节点对象

outputNode TextureNode

输出节点对象

Returns:

处理后的节点对象

Type
TextureNode