Legacy Documentation: Version 2017.1 (Go to current version)
Eye Adaptation
Color Grading
Other Versions

Bloom

The effect descriptions on this page refer to the default effects found within the post-processing stack.

Bloom is an effect used to reproduce an imaging artifact of real-world cameras. The effect produces fringes of light extending from the borders of bright areas in an image, contributing to the illusion of an extremely bright light overwhelming the camera or eye capturing the scene.

In HDR rendering a Bloom effect should only affects areas of brightness above LDR range (above 1) by setting the Threshold parameter just above this value.

Scene with Bloom.
Scene with Bloom.
Scene without Bloom.
Scene without Bloom.
UI for Bloom
UI for Bloom

Properties

Property: Function:
Intensity Strength of the Bloom filter.
Threshold Filters out pixels under this level of brightness.
Soft Knee Makes transition between under/over-threshold gradual (0 = hard threshold, 1 = soft threshold).
Radius Changes extent of veiling effects in a screen resolution-independent fashion.
Anti Flicker Reduces flashing noise with an additional filter.

Optimisation

  • Reduce Radius

Details

With properly exposed HDR scenes, Threshold should be set to ~1 so that only pixels with values above 1 leak into surrounding objects. You’ll probably want to drop this value when working in LDR or the effect won’t be visible.

Anti Flicker reduces flashing noise, commonly known as “fireflies”, by running an additional filter on the picture beforehand. This will affect performances and should be disabled when Temporal Anti-aliasing is enabled.

Lens Dirt

Lens Dirt applies a fullscreen layer of smudges or dust to diffract the Bloom effect. This is commonly used in modern first person shooters.

The same scene with Lens Dirt applied
The same scene with Lens Dirt applied

Properties

Property: Function:
Texture Dirtiness texture to add smudges or dust to the lens.
Intensity Amount of lens dirtiness

Optimisation

  • Reduce resolution of Lens Dirt texture

Details

Lens Dirt requires an input texture to use as a fullscreen layer. There are four Lens Dirt texture supplied in the Post-processing stack that should cover common use cases. These textures are supplied at 3840x2160 resolution for maximum quality and should be scaled dependent on project and platform. You can create custom Lens Dirt textures in any image editing software.

Requirements

  • Shader model 3

See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答