Search Unity

DistanceShadowmask: bad blending between real-time & baked shadow from directionalLight

Discussion in 'High Definition Render Pipeline' started by SKoptev, Sep 26, 2019.

  1. SKoptev


    Jan 15, 2019
    Hi all,
    there is some problem with distance shadowmask feature in HDRP.
    When camera moves away from scene to distance near "Max distance", set in the Shadows section of Volume component, real-time shadow begins to blend with baked in shadowmask.
    But there is a visible sharp boundary between them (for example, screenshot from scene with shadow max distance == 10 meters).


    On nearer and farther distances scene looks fine.
    This problem is only with directional light, punctual seems ok.

    Unity v.2019.3.0b4, HDRP v.7.0.1
    Same issue on Unity v.2019.2.4f1, HDRP v.6.9.0