Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
7
Question by ric_eng · Mar 24, 2010 at 12:32 AM · lightambient

Disable ambient light

Hi,

my environment are more beautiful in the scene when I disable the lights. Can we disable the ambient light in the game? When I do this in windows scene my models are best.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
14
Best Answer

Answer by Eric5h5 · Mar 24, 2010 at 01:14 AM

Go to the render settings in Unity and turn down the ambient light color to pure black. It's not a real light; it's just a color that any shaders that make use of the ambient light constant can use.

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dread_Boy · Dec 07, 2013 at 06:34 PM 0
Share

This answer helped me but it creates another problem. I have a single room with light switch and I need to be able to toggle lights in room with this switch. The problem is that when I turn off lights, switch turns completely black when it shouldn't because I can't find it any more.

avatar image sazap10 · Dec 07, 2013 at 06:51 PM 0
Share

See screenshotalt text You can press the red outlined button to show the scene if the ambient light is black

ss (2013-12-07 at 06.48.54).jpg (8.5 kB)
avatar image Dread_Boy · Dec 07, 2013 at 07:09 PM 0
Share

Great but the switch is still pitch black ingame when I turn off lights. Can I add some kind of faint glow to it so it doesn't illu$$anonymous$$ate the area but the player will still be able to see it? Some kind of emergency exit glow if you know what I mean.

avatar image sazap10 · Dec 07, 2013 at 07:13 PM 0
Share

you could add a Halo effect?

avatar image Julien-Lynge · Dec 07, 2013 at 09:19 PM 1
Share

Please do not re-open old, answered questions with new questions. Please start a new question, perhaps titled something like "How do I show an object in a scene with no ambient light?"

Show more comments
avatar image
24

Answer by ecesis_llc · Aug 07, 2015 at 11:25 AM

For Unity 5 ambient scene lighting is now found under Window > Lighting > Scene.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Light_ · Jul 10, 2016 at 07:03 PM 0
Share

Thank you for this!!

avatar image
13

Answer by domiii · Feb 11, 2017 at 08:59 AM

In Unity 5:

  1. Open Window -> Lighting, go to the Scene tab.

  2. Set Ambient Source to Color and Ambient Color to black. This will eliminate one part of Ambient lighting.

  3. Next, you want to remove ambient light due to Skybox reflections by simply setting Reflection Intensity to 0.

Now, your light will only come from explicitly added light sources! :)

screenshot


screen.png (16.7 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by OfficialHermie · Oct 03, 2015 at 02:37 PM

I would so much like a menu item in the Unity Editor to turn off all lights so that we create them on our own. Perhaps some default settings are great, but the current ones are not to my liking. To be precise: I don't understand them.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
-4

Answer by doc.u · Dec 16, 2011 at 01:32 AM

To disable ambient light you need to go to the render settings in Unity , like Eric5h5 says, but set ambient color to pure white. In this case it will not affect your scene and models.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mgeorgoulopoulos · Nov 26, 2012 at 10:46 PM 1
Share

I highly doubt it. Ambient light is additive to the lighting equation, so pure black is the correct choice.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Change light.color over time, repeat 2 Answers

Ambient light and lightmapping 1 Answer

Independent Ambient Light Shader 0 Answers

How to make Cartoon-like scene lighting? 3 Answers

How do I prevent the Ambient Light from influencing lightmap bakes? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges