Search Unity

Question Animated Shadow Caster

Discussion in 'High Definition Render Pipeline' started by Korahan, Mar 24, 2022.

  1. Korahan

    Korahan

    Joined:
    May 12, 2017
    Posts:
    14
    Hi everybody,

    I want an enemy in my game to be invisible but cast shadows. I use HDRP.
    The enemy's shape is animated in a series of images. Now if I use the sprite renderer, as I would normally do for the animation, I get no shadow.
    But if I use a Quad with a mesh renderer, I get the shadow but don't know how to animate the shape.
    Is there a way to achieve, what I want?