Search Unity

Bug HDRP Lit shader Pixel displacement motion vector broken.

Discussion in 'High Definition Render Pipeline' started by jjejj87, Dec 26, 2021.

  1. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    As per title says, the latest HDRP13's Lit shader, pixel displacement fails to work with motion vectors and starts to smudge to no end when the camera moves. As you can see, other areas that do not use Pixel displacement are just fine and also I've included the material for your reference.

    The smudged ones are when the camera is moving (horizontal FPS walk), at slow speeds. and the non-smudged ones are when the camera is stationary.

    pom.jpg
     
  2. jjejj87

    jjejj87

    Joined:
    Feb 2, 2013
    Posts:
    1,117
    Update: Upon further investigation, this smudging happens when receive decals is disabled on the material. I don't know how this connects back to motion vectors not kicking in when the option is disabled, but at least now I am able to shorten the time to hunt this bug down.

    Hope this helps!