- Home /
How to make complete darkness
How to make complete darkness, and only things affected by a light source visible. The camera not connected to the player, and is not the light source.
Ok, so, i have a camera looking downward where the player and everything is. i want to make it, so that the only thing that can be seen is the player, the things affected by the the spot light, and some other random things that have spot lights (and the things affected by their spot light). NOTE again that the camera is not connected to the player and can move freely around (like a camera in a strategy game). Thx in advance.
Answer by robertbu · Jan 13, 2014 at 07:18 PM
Not sure if this gets you all the way there, but go to Edit > Render Settings and edit Ambient Light so that it is full black.
thx that worked. now i just need to fiddle around with the light to get it all right.
Answer by valrossen_Oliver · Jan 13, 2014 at 08:17 PM
If you know the item your trying to make visible. Just change gameObject.layer to the value of the layer that you want! Hope it Helped! :)
@$$anonymous$$alleponken2010
A. That is not an Answer, please don't post a comment or follow-up as a such (I changed it for you). B. There are RendererSettings, where did that piece of misinformation come from?
Answer by OGDE01 · Mar 04, 2019 at 11:18 PM
What I did to create pure darkness was created a new material with the "Skybox/6 Sided" shader. I didn't add any textures to the material, just changed the tint color to black. Then just drag it in the scene and remove all the lighting!
Your answer
Follow this Question
Related Questions
the easiest way to mask my scene 2 Answers
Pure black lighting 2 Answers
Extremely dark Buildings produced on Unity asset (Help!! Its very urgent) 0 Answers
How can I make the overall color pitch black? 1 Answer
How can i make the game area pitch black 2 Answers