- Home /
The question is answered, right answer was accepted
Making an object appear completely black until a light source is moved nearby
Hello Unity Community!
I am trying to have an object be completely black (i.e. in complete darkness) until a light source moves near it. Basically I want my light source to be like an orb of light, and I want it to be able to light up other objects when it's near them, otherwise they remain completely black and indistinguishable from the black background. How do I need to set up my light and the object's material to achieve this?
Thanks for your time!
Answer by CodexSimplex · Dec 30, 2015 at 04:18 PM
Just change the render settings for ambient light to 0.
In Unity 5 this is found under Window > Lighting > Scene
Answer by aditya · May 06, 2016 at 06:17 AM
Change your Ambient Source to Color
and change color to complete Black
Sorry for wasting your time, I thought I had already accepted the above answer as correct. Thanks for your answer though.
Follow this Question
Related Questions
Light pass under walls 0 Answers
How can i make the game area pitch black 2 Answers
Shadows not behaving as expected with spot lights 1 Answer
Darkness system 2 Answers
Problem with shadows 1 Answer