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 /
This question was closed Aug 25, 2017 at 06:30 PM by FortisVenaliter for the following reason:

The question is answered, right answer was accepted

avatar image
2
Question by MolluskJesse · Jan 17, 2015 at 06:39 PM · unity 5bakedlightingshadowmap

Unity 5 shadows - strange artifacting

We're testing out Unity 5's baked shadows and Enlighten system in one of our scenes, but we're getting the following results which are a bit confusing.

alt text The lighting in part of our scene before the Enlighten bake. Real timelighting and shadows only

alt text The lighting/baked shadows after the Enlighten bake. As you can see, there is a lot of strange artifacting.

On the objects in question, the Unity importer is building new UV maps for the shadows, so I don't believe that's an issue. Also, if you look closely, the floor actually tiles a little. The piece of the floor geometry is an exact, in-maya copy of the previous section that has all the artifacting. Yet, the section closest to the camera exhibits no shadow artifacting whatsoever.

Has anyone else experienced this and/or have any insight into what is the cause of this issue and an accompanying fix.

realtime_prebake_unity5test.png (251.9 kB)
withshadow_unity5test.png (303.9 kB)
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

1 Reply

  • Sort: 
avatar image
3
Best Answer

Answer by MolluskJesse · Jun 02, 2015 at 11:22 PM

After months, I finally found the solution for this myself as our team worked to make the official jump to Unity 5. This issue can be caused by bad UV's. We had a few house plants in the scene we bought off the Unity store. Something about their baked in Shadow UV's was making Enlighten throw a fit and create the artifacting you see above. To fix this, we went into the model's importer and clicked on "Generate Lightmap UV's." I can't guarantee this will fix this issue in all cases, but it sure helped us.

Comment
Add comment · Show 3 · 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 alejoasks · Sep 11, 2015 at 04:46 PM 0
Share

@$$anonymous$$olluskJesse

Hi, thanks for your post. I think it may have helped solving the blotchy/dark spots baking issue I had. I had added other objects which made the dark spots appear into other objects which were fine before. $$anonymous$$y file does not use Unity automatic light mapping but ones set up in Blender.

I have a lot of objects in my scene but I took a closer look at each object (in Blender) and I found out some had a Diffuse UVs and no Lightmap UVs. Other had Lightmap UVs but were not correct. After correcting both these things it baked correctly everything. There were not a lot of objects wrong but it may have been enough to mess up Unity lightmapping.

I guess since Unity 5 uses a more realistic lighting approach than other versions, an error on a particular object may get transfered into others more easily. Just a theory.

Thanks again, I hope this will help other people as well

avatar image krstrobe · Aug 25, 2017 at 05:11 PM 0
Share

oh, thank you so much!!!!!!!!!!!!!!!!!!!!!!!! Didn't get to pulling my hair out, but that was the feeling I had. Thank you!

avatar image kikesa72 · Sep 06, 2017 at 02:16 PM 0
Share

Thank u for share this little secrete.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Pre baked shadows in Unity 5?? 1 Answer

Pink color in baked light map problem. 2 Answers

Precalculate lighting by editor script 0 Answers

Baked Lighting too dark not like realtime 1 Answer

Unity Game Wont Build + Bake Time 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