Search Unity

How to make an object not receiving light from a specific light source

Discussion in 'General Graphics' started by Tornado77, Sep 30, 2019.

  1. Tornado77

    Tornado77

    Joined:
    Nov 14, 2018
    Posts:
    83
    Hi, I know its possible to make an object not receiving light but is that possible to make an object not receiving light from a specific light in the scene? The reason for this is that I'm trying to make a moon with phases with a spotlight rotating around it but it's not working because the sun illuminates the moon

     
  2. mouurusai

    mouurusai

    Joined:
    Dec 2, 2011
    Posts:
    350
    Lights can exclude objects by layer.