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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Spot Light Problem

Discussion in 'Global Illumination' started by LPocay, Jun 28, 2015.

  1. LPocay

    LPocay

    Joined:
    Jun 21, 2015
    Posts:
    9
    Hi! how are you? i got a problem here im traying to make a flashlight with a Spot light and it work almost perfecly...but this:

    the trees even if dont pointing with flashlight they keep iluminate.. idk if i can chance the halo range becuase i think is that the problem.. sorry about my bad english and i hope that you can help me! Thanks!
     
  2. LPocay

    LPocay

    Joined:
    Jun 21, 2015
    Posts:
    9
    I figured out my self! it was a problem with the shader!
     
  3. ArachnidAnimal

    ArachnidAnimal

    Joined:
    Mar 3, 2015
    Posts:
    1,727
    Personally, rather than adding the halo to the actual light, I would add the halo to a child gameObject of the flashlight. Doing so allows you more control over the halo: You can control the color and size of it then:
    upload_2015-7-2_9-50-21.png