Search Unity

Bug Spotlight Completely Broken (HELP)

Discussion in 'Global Illumination' started by Xenrikk, Aug 27, 2022.

  1. Xenrikk

    Xenrikk

    Joined:
    Jul 21, 2021
    Posts:
    1
    Hello so I have been working on a horror game recently and I wanted to implement a spotlight to make it as a flashlight. I have made flashlights many times in the past but this time, for some reason it is completely broken.

    When I shine the light onto the ceiling, the light appears on the ground when I shine it onto the ground it shows onto the ceiling, when I shine it on any wall it shines it on the top and the bottom and barely actually goes onto the wall. I really need help with this I would really appreciate if anyone knows what is going on.

    I have tried pretty much everything my baking settings are pretty much default everything is done the whole area is baked as well thank you.

    number 1.png number 2.png
     

    Attached Files:

  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    If you are trying to simulate a flashlight which is going to move through the level, make sure to set its mode to Realtime. Baked lights cannot be moved in runtime.