Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
4
Question by Languard · Jun 27, 2015 at 08:24 PM · bakebakedlightingglobal illuminationambient light

Losing ambient light after bake

If I bake my scene, I lose all of the ambient light information. It is an underground scene, so I have Skybox and Sun set to none, and Ambient Source set to color. Reflection source is set to custom and none as well. Precomputed Realtime GI is disabled, and most everything else is left at defaults. To make sure I'm not just being blind, I have it set to full red - 255,0,0,255. The scene has 5 baked point lights, one real time point light, and no other light sources. It is a fairly small test scene, consisting of one room and a few hallways that go nowhere.

If I clear the baked data, the scene appears as I would expect - everything has a strong, deep red tint to it. However if I bake, then the ambient light disappears completely. Areas of the scene that receive no light are pitch black without a trace of red. If it makes a difference, I have meshes that have both legacy shaders and the standard shader in the scene.

What am I doing wrong that is causing the ambient light to disappear after baking? I need trace amounts of light to help set the mood in this scene.

Edit: When viewing the 10 directional lightmaps that get generated during the bake process, I can see lots of red. I just don't see it when walking around in scene.

Comment
Add comment · Show 2
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 neatbytes · Sep 28, 2015 at 06:16 AM 0
Share

I have the same problem, did you find the solution?

avatar image jefequeso · Feb 17, 2016 at 07:08 PM 0
Share

I also have the same issue, and would like to know how to solve it.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by grafikzeug · May 16, 2016 at 02:00 PM

I am having the same issue. It looks like I had set the reflection source in the environmet lighting settings (lighting -> scene tab) to black. The weirdest thing is that that the reflections stay lost even after hitting the "clear baked data" button on the lighting-scene tab. Would love to hear what I'm doing wrong.

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 jefequeso · May 17, 2016 at 02:37 AM 1
Share

Well, I figured out what was causing the problem for me. It seems that when you bake ambient lighting now, it acts as a sort of "sky illu$$anonymous$$ation," which means it tries to cast diffused shadows. So apparently if you have an enclosed scene, you can't bake ambient light.

I don't know if there's any way to solve this. It seems like a really dumb behavior to me.

avatar image
0

Answer by WARdd · Oct 18, 2018 at 09:01 AM

As @jefequeso pointed out, in my case this was caused by the environment shadowing itself.

One dumb workaround I found was to just put some directional lights in the scene with the intended ambient color. You make 6 of them pointing in each cardinal direction, you set them all to 'bake' and 'no shadows' with intensity 1 and it should give roughly the same effect as the ambient lighting would.

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 Matt2503 · Nov 22, 2018 at 02:23 PM

OK... So I'm not sure if this is the solution to your problem but lemme go ahead and try.

After baking, my tunnel, which, at realtime, had been lit up with ambient lighting, lost its consistently red colour.

Solution: After deactivating the "Optimize Realtime UV" (Object Inspector panel/Mesh Renderer/UV Charting Control) and rebaking, the colour of my tunnel returned.

fyi Other Settings: Environmental lighting source: Color, Baked. Realtime and Mixed Lighting activated (lighting mode: subtractive) Lightmapper Settings/Lightmapper: Enlighten

Hope this helps!

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

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

29 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 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 avatar image

Related Questions

Baked GI noise / artifacts 1 Answer

Layer based Ambient Lighting 1 Answer

Baking ambient color not possible? 1 Answer

Lightmap uv's are stacked after running Mesh.CombineMeshes 1 Answer

why is my baking GI get stuck at 7/11? Unity 5.50b7 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