Search Unity

How can I have a light not light up an object, but still cast a shadow on it?

Discussion in 'Global Illumination' started by eobet, Jun 2, 2018.

  1. eobet

    eobet

    Joined:
    May 2, 2014
    Posts:
    176
    I have a directional light that only lights up the player, but I still want the shadow to be cast on the scenery below. Yet if I use the culling mask to only light the player, I also don't get the shadow anywhere but the player.

    Actually, I also wouldn't mind not having the light cast the self shadowing on the player either...
     
  2. eobet

    eobet

    Joined:
    May 2, 2014
    Posts:
    176