Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 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
0
Question by tayloreichhorst · Dec 18, 2016 at 02:18 PM · lightingvrshadowsbuild settingsdirectional light

Shadows much darker in build than in editor.

alt text

The shadows that show in my build(right part of image) are much darker than in the editor(left part of image).

A few things I think may be the issue but i'm not sure:

  • Using a mixed directional light. Is there a better way? I need baked shadows for level details, but also want realtime shadows for my player and enemies, etc. (this was a hassle on it's own)

  • Using SteamVR plugin. (though I have tried every build option combination I can think of despite the plugin recommending I switch back to it's defaults)

  • Baking lights manually instead of automatic.

  • Building with force full screen (tried many build combinations)

unityshadowproblem.png (406.5 kB)
Comment
Add comment · Show 3
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 arthymon · Dec 18, 2016 at 04:13 PM 0
Share

About baked shadows, you can bake shadows only for static objects

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

The shadows are baked on the static objects (terrain, boulders, etc.) in my scene. I am using mixed lighting because I want the baking from the directional light but also real-time shadows from non-static objects. That part all works fine, I understand it. The issue is that all shadows are much darker after I build than they are in the editor.

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

I had the same problem with baked lighting when i loadscene("my scene ") , try to bake lightmap again

3 Replies

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

Answer by tayloreichhorst · Dec 21, 2016 at 02:58 PM

I found what I believe is the answer to my problem. I say that with a tad bit of uncertainty because I tried a lot of things at once!

Basically it comes down to my own idiocy, which it usually does.

I had been testing out different lighting methods, one of those included making duplicates of my clouds (which lie between the directional light) and setting them to shadows only. I had since decided against going with that lighting method but forgot to delete the clouds!!!!

Deleted them, all is fine.

My theory for why it worked in non-VR and then was dark in VR is that VR is actually rendering the scene for each eye, so it's somehow rendering the shadows different when there is an overlap in objects. In non-VR it was somehow ignoring one of them? That's my best guess.

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 arthymon · Dec 18, 2016 at 06:32 PM

I'm not entirely sure, but probably because you need to bake your lightmaps , you can do that in window -> lighting . I had the same problem , when i was using SceneManager to load my level.

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 tayloreichhorst · Dec 19, 2016 at 02:44 AM 0
Share

Light is baked fine. New progress though. When I build the game and play it with my Vive, the realitime shadows are much darker, when i play without my Vive, bam, everything is good.

Not sure how to fix that.

avatar image
0

Answer by alirazabrame · Oct 09, 2021 at 04:30 PM

I have a similar problem. After build the game, the shadows going to be too dark. I solved by changing lighting source to color.

Check this at stackoverflow

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

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

Related Questions

No shadows. 2 Answers

Shadows Are Too Dark 3 Answers

Jagged Directional Lighting 1 Answer

Shadow Bias removed from directional light properties? Unity 2018 1 Answer

Troubles with Shadow Cascades / Shadow Quality, how can I improve my scene? 0 Answers


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