Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How do I make the Scene completely dark/black?

Discussion in 'Editor & General Support' started by Guru, Jun 18, 2010.

  1. Guru

    Guru

    Joined:
    Apr 30, 2010
    Posts:
    118
    This might be a dumb question but I can't figure it out...even with no lights in the Scene you can still see and make out the objects.

    For example, if I were to want to make a scene were everything was pitch black except for the beam from a flashlight or a spotlight shining on an object, how would I accomplish that? (The dark part, not the lighting of the flashlight or spotlight).
     
    Esamanoaz likes this.
  2. Guru

    Guru

    Joined:
    Apr 30, 2010
    Posts:
    118
    And of course I figure out my on answer immediately after posting...I just changed the Ambient light to Black in the render settings...could have swore I did that before but guess not.

    Never mind, nothing to see here :wink:
     
  3. darkAbacus247

    darkAbacus247

    Joined:
    Sep 7, 2010
    Posts:
    251
    O....M....G?!
    Why didn't I think that? Clearly....I knew this. But instead I've been trying to think of a tricky way to adjust all material max white/black levls...this does exactly that, all at the same time...and less system intensive.

    Sometimes...I swear, i'm a high functioning R-Tard.
     
  4. U7Games

    U7Games

    Joined:
    May 21, 2011
    Posts:
    943
    If your scene is lightmaped then ambient light will not work, in such case if you want to darker the scene, just use a guiTexture with black texture filling the entire screen with alpha value to 70% is cheap and fast ;)
     
    wraex likes this.
  5. Strogg2313

    Strogg2313

    Joined:
    Jan 2, 2014
    Posts:
    9
    Umm,my scene isnt black when i change the ambient light to black.How do i remove the lightmaps?
     
  6. SahilBhilave

    SahilBhilave

    Joined:
    Jan 9, 2015
    Posts:
    1
    Set the render settings.

    In Unity, navigate to Edit > Render Settings

    Enable (tick) the box that says Fog.

    Click the Fog Colour box, set the ambient light to 29 on each of the RGB sliders. You can see the change in the scene, pick a colour that is dark but not pitch-black.

    Click the Ambient Light Colour box, set the ambient light to 51 on each of the RGB sliders. You can see the change in the scene. Again, pick a colour that is dark but not pitch-black.
     
  7. MuhManMax

    MuhManMax

    Joined:
    Nov 9, 2016
    Posts:
    1
    After using fog mine still does nothing
     
  8. master_rigel

    master_rigel

    Joined:
    Mar 24, 2014
    Posts:
    69
    Okay. I solved that.

    Under Lighting > Scene > Environemt
    Set your Skybox material to none.
    Set your ambient colour to black.

    I recommend this setting, as it will let you distinguish your objects from your scene, but your objects will remain entirely unlit, unless you manually light them.

    As an alternative, set your skybox material to any unlit colour
    Set your unlit to black.
     
    Last edited: Nov 20, 2019
    dcb2 likes this.
  9. MrMeat_Man

    MrMeat_Man

    Joined:
    Mar 15, 2023
    Posts:
    1
    NOPE