How to disable ambient lighting in Unity

When you disable the lights in your Unity scene, the scene doesn’t go dark. Instead, what you see is that, your gameobjects are still getting lit from the ambient light. So, how do you make your scene dark? In this tutorial, we will see how to make your scene completely dark by switching off the ambient lights.

Before we start, let’s compare the different Unity lighting scenarios.

Scene with Directional Light

scene with directional lighting

Scene without Directional Lighting

scene without directional lighting

Scene with skybox disabled

You can disable the skybox by selecting the Main Camera in the hierarchy.

Scene without skybox

You can see that the gameobjects are lit even after the skybox is disabled. You need to change the ambient lighting to change the lighting on gameobject.

Disable Ambient Lighting

  1. Go to Windows>Rendering>Lighting.
  2. Go to Environment tab.
  3. Select the ambient Color source as color. Or if you have a Night skybox you can select the source as skybox.
  4. Set the color as black.

All objects other than the ones with emission/glowing materials should do dark.

Ambient light disabled.

If you have any questions, leave it in the comment box below.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from VionixStudio

Subscribe now to keep reading and get access to the full archive.

Continue reading