Search Issue Tracker

By Design



Found in [Package]


Issue ID




Depth of Field doesn't blur near objects when "Allow HDR" is disabled

Package: PostProcessing


Steps to reproduce:
1. Open original project ""
2. Select "Main Camera" and toggle between "Allow HDR" setting

Expected result: DOF behaved the same
Actual result: DOF doesn't blur near objects when "Allow HDR" is disabled

Reproduced in: 2018.3.11f1, 2019.1.0b9, 2019.2.0a10

Does not reproduce in: 2.1.3 Package version

  1. Response avatar

    Resolution Note (fix version ):

    This behavior would be considered by design. The reason why it worked in earlier versions is that Depth of Field would force HDR rendering even if it was explicitly toggled off. We fixed it to only render in HDR if the camera was actually HDR to avoid wasting resources in LDR rendering.
    Due to the nature of the effect, getting a good near-blur in depth of field requires high precision, un-clamped input (so, HDR). There's not enough information in LDR to do proper bokeh scattering of the near field. As such, the effect is limited by design when not using HDR.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.