Search Unity

Dot for a shadow on my third person controller character

Discussion in 'General Graphics' started by diffeomorph, Aug 28, 2021.

  1. diffeomorph

    diffeomorph

    Joined:
    Jan 14, 2021
    Posts:
    6
    Hello,

    I'm new to Unity, and I have a lot of bugs with my game right now.

    One of the main ones is how my character just has a dot that floats alongside her for her shadow. The shadows on everything else work fine.

    Does anyone know what might be causing this? I've tried to attach an image from Imgur. The dot shadow is on the left of the girl.



    Thank you.
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,639
    Make sure that shadow casting is enabled in your skinned-mesh renderer.

    Also, what shader are using for your character? I'm pretty sure some types of shaders don't cast shadows (like transparent shaders for example).
     
  3. diffeomorph

    diffeomorph

    Joined:
    Jan 14, 2021
    Posts:
    6
    I switched my shader and it works great now! Thanks!