Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 Hbombre · Apr 03, 2015 at 12:25 AM · lightingshadowdark

How to fix scene too dark at runtime?

The scene looks fine in the editor, but when I runs it my objects have a black shadow and the lighting isn't the same. I have a rotating directional light in the scene to simulate night and day and I've had this issue before where if the scene started in the night time (directional light pointing above x axis) and I fixed it by making sure the scene always starts in the daytime (directional light pointing below x axis). But now it is doing this regardless of where the light points. Thanks in advance for any help!!

alt text

screen-shot-2015-04-02-at-33954-pm.png (503.6 kB)
screen-shot-2015-04-02-at-34000-pm.png (512.5 kB)
Comment
Add comment · Show 4
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 Conan Morris · Jun 23, 2015 at 02:16 AM 0
Share

Did you ever figure this out? I am having the exact same problem.

avatar image tayloreichhorst · Dec 18, 2016 at 05:35 PM 0
Share

I'm having this issue as well! did you get it figured out? FYI Conan$$anonymous$$orris 's reply did not work for me.

http://answers.unity3d.com/questions/1287347/shadows-much-darker-in-build-than-in-editor.html

avatar image getyour411 · Dec 18, 2016 at 07:51 PM 0
Share

In the Editor viewport toolbar select the little Light icon to enable the use of scene lighting (ins$$anonymous$$d of generic light attached to scene view).

avatar image tayloreichhorst getyour411 · Dec 19, 2016 at 03:53 AM 0
Share

Are you say enable lighting preview, at the top of the scene view? Ya I have that enabled, that's not the issue at all. Everything is baked and looks fine when i test it. It's when I build, and play the game.

3 Replies

· Add your reply
  • Sort: 
avatar image
9

Answer by Conan Morris · Jun 23, 2015 at 12:48 PM

For myself, this issue seemed to have been caused by my switching from between dark and light sky boxes during day and night.

Looks like the ambient lighting in unity is by default associated with your Sky box. When the game started at night, it used my dark sky box to set my ambient light levels. This which made everything quite dark.

This can be fixed by going into Window -> Lighting -> Scene. Change Ambient source to Color instead of SkyBox and set the Ambient Color to a light grey.

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

Answer by Zelre · Jan 08, 2017 at 10:01 AM

Old post, but this may help anyone else trying to solve this problem: If you've set your ambience setting to skybox, and your shadows are extremely dark, go to your directional light and lower the strength setting. Should fix it.

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
-3

Answer by sillyjake · Jun 23, 2015 at 06:26 AM

Try adding an area or spot light to the scene.

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

6 People are following this question.

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

Related Questions

Light creates distortion on mesh? 1 Answer

No shadows. 2 Answers

Pixels per Unit / Pixel Perfect Shadows, possible? 1 Answer

orthographic camera and shadow 1 Answer

how to get correct shadow from the model 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