- Home /
How do I make the meshes show up as dark as the scene if there is no light?
Howdy, I'm working on a game where the light cast by spotlights will be the only light source within the game, however I'm noticing that when I remove all lights from the game, I can still see the meshes in-game. They're lacking detail, but they still exist.
How do I make the whole seen as dark as a backalley from a gritty noir film? Think of something like Alan Wake. I have a feeling it has something to do with the mesh shaders, but I'm rather green to lighting.
Any help is appreciated.
Answer by Loius · Feb 07, 2013 at 09:45 PM
If I'm reading the question right, you need to set your ambient light to zero in the render settings.
Answer by GC1983 · Feb 07, 2013 at 07:52 AM
Change the shader of the mesh to ones that are effected by light. Ones like defuse, vertexlit, and specular will work. Then you can alter their color to make them appear more shaded.
Answer by DeBunked · Feb 07, 2013 at 09:28 PM
Let me see, you want the world to be completely unlit (or rather; dark)?
A couple ways to achieve this:
Set up a directional light with color pitch black (0,0,0,255) and then have all point lights radiate a conventional light color such as the standard white. Effectively this makes every object black but 'visible' and lights them up when near a point light.
Activate fog under render settings (once again, put the color slider on pitch black), tweak the settings so that after the desired range the density will be high enough to black out everything. This blacks out everything beyond a certain distance from the camera, but leaves the objects before this point barely touched.
Your answer
![](https://koobas.hobune.stream/wayback/20220613092305im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Triplanar surface shader not responding to Mesh.Colors 0 Answers
Lighting problem 0 Answers
Odd shadow effect, help! 1 Answer
Lighting problem 0 Answers