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
0
Question by Harry64 · Feb 19, 2015 at 07:21 PM · shaderlightingbakingglobal illuminationambient-occlusion

Unity 5 Light problem

I had these problems never in Unity 4 but now I think I am not able to create any modular world in unity anymore because of some really annoying light shadow problems...

On the Internet I am not able to find any solution to my problem so this is my last hope...

here are some pictures that show my problems with the new Light system of Unity 5. alt text alt text

I have (since ONE BIG world didnt work either) split my testworld into smaller pieces but when I did this I got such really bad lighting problems like in the pictures above. here you see model 1 and 2 and 3. all perfect fitting together and built in Blender.

in unity 4 I never had such problems. they where all perfect lit. but now in unity 5 it seems that every model has its own lighting and some of the modular pieces have so extreme different illumination that you can clearly see the pieces...

I tryed: different shader settings, added Reflection Probes, added Light probes, added different light sources, experimented with almost all settings of the Light and rendering window, downloaded the Viking Village demo to see the settings of them but I could not find any big differences to my settings and the only thing that let everything look somewhat better was to disable "baked GI"... then the black AO shadow was gone but the color difference was still visible.. please help me.

unitylightproblem1.jpg (349.2 kB)
unitylightproblem2.jpg (358.7 kB)
Comment
Add comment · Show 1
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 Harry64 · Feb 20, 2015 at 12:25 AM 0
Share

I found some clues to my problems now.... first these black lines you see in the pictures above are gone now. I increased the lightmap size and the padding between the second UV map.

now my only problem is that weird different color that the second model gets.... I think it has something to do with the reflection probes.

2 Replies

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

Answer by Harry64 · Feb 20, 2015 at 07:40 PM

I found out that my problem comes from the reflection probes. normally they work ok but not in long hallways... I will ask this in a forum thread since I think I could get there more detailed info on my problem.

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 dejongh · Apr 28, 2015 at 08:20 AM

alt text

It seems to me that what you're seeing here is a heightmap or normalmap problem. Take a look at the section of your image that I've blown up. In (A) you can see that the edge of your modular section 2 looks slightly raised and radiused. In (B) you can see the same effect is happening by the wall, and this is creating a shadow (Ambient Occlusion). But when you look at (C) that effect is gone in the floor for section 3. Notice also that while there appears to be a step in height from section 3 to section 2 at (A), this isn't there at the edge of the wall at (C). That's how we know it's a map issue and not related to the model geometry.

The first thing I would do is to look at whether your floor material has a heightmap loaded and to take a look at the normal map too. It looks like the floor in section 2 doesn't have tiled materials like in sections 1 and 3 but instead is taking the whole floor as one single texture.


unity-answers-ao-problem.jpg (50.9 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

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

21 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

Related Questions

Indoor Lighting Scene - Baking? Realtime? 0 Answers

Is it possible to fake Global Illumination within textures? 1 Answer

HDRP double sided light problem 0 Answers

Meta pass and Precomputed Realtime GI 0 Answers

Getting static lighting to be on instantiated pre-fab 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