Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Character Shadow? Blob or better asset?

Discussion in 'Scripting' started by jococo, Oct 5, 2014.

  1. jococo

    jococo

    Joined:
    Dec 15, 2012
    Posts:
    232
    Sorry if this is the wrong forum section. Wasn't sure where to ask this question ...

    Is there any techniques or existing asset store packages to have a shadow on a character that sorta morphs to terrain changes?

    I've tried Fast Shadow and there is clipping as with Unity blob. Both clip pretty bad on my "bumpy" terrain.

    I noticed that the brush for terrain painting, etc seem to follow the contour of the terrain. Any way to mimic that as a shadow?

    Thanks!
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
  3. jococo

    jococo

    Joined:
    Dec 15, 2012
    Posts:
    232
  4. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    It duplicates what it is projected on. You can try actual realtime shadows as well. These are from the directional light. If you set it up cleverly so the terrain only receives shadow and the mesh you want a shadow for only casts a shadow, then it can still have reasonable performance.
     
    jococo likes this.