Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Reverend-Speed · May 11, 2019 at 10:01 PM · modellightmappingimporting assets.fbx

Why are some of my models unaffected by lightmapping bake?

My lightmapping settings: alt text Here are the wall and doorway models which are not being lit: alt text Models were imported as .fbx from Blender. I've tried auto-generating and non-auto-generating lightmap UVs for the models, but there doesn't appear to be any change in how the lighting is affected. alt text Models are marked as static. Would be most grateful for any suggestions!

--Rev

static.png (112.2 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

2 Replies

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

Answer by Reverend-Speed · May 13, 2019 at 10:04 PM

So, the solution for this particular error appears to be to never use single-sided geometry for static objects. Replaced my shadowcasters with a standard cube, marked 'static' and 'shadows only' and everything appears to have baked as intended. Lesson learned. Thanks to everybody who made suggestions.

EARLIER ANSWER:

Regrettably, this problem appears to come under the heading of 'self-own'.

In my project, I have several quad models stretched out over the rooms on the right of the first picture attached. These MeshRenderers are marked as 'Shadows Only', with their attached materials marked as Double Sided Global Illumination enabled.

In addition, I have two stretched quads extending the external wall of the hospital, with Cast Shadows set to 'Off' and the attached materials marked as Double Sided Global Illumination enabled.

The intention was that the shadowcatchers would light the interior as if it was shielded from the Direction Light (as the interior of a building is shielded from the sun), whilst allowing the player to peer into the interior of the ground floor. The hospital wall extension was intended to act as a relatively naturalistic 'wipe' as the camera crossed into the interior space, then hiding the exterior.

Instead, everything is brutally f'd in the a, with a load of errors including the unlit models that I've been asking about.

If you'd like to see the effect I'm trying for, without Global Illumination and in a webplayer, please enter the data seen in the attached picture and walk through the indicated door.

Can anybody suggest a way for me to achieve my desired effect with Global Illumination? And should I reformat this question, now? alt text

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 wyatts · May 12, 2019 at 01:20 AM

Maybe this is a given but...are they checked as static?

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 Reverend-Speed · May 12, 2019 at 07:41 AM 0
Share

GREAT question! They are, but I should have made that clear.

avatar image wyatts Reverend-Speed · May 12, 2019 at 07:40 PM 0
Share

Are the model UVs clean? You can get weird results sometimes if the models UVs are too distorted.

avatar image Reverend-Speed wyatts · May 12, 2019 at 09:50 PM 0
Share

They're very clean. I haven't hand-built UVs for the models yet, so ins$$anonymous$$d I used Blender's UV Lightmap function. $$anonymous$$ost of the quads are their own islands, with a 16 pixel margin between them. Additionally, I've also occasionally run the models through Unity's Create Lightmap UVs import function, to test if that'll make a different - after multiple tests with Blender-created UVs and Unity-created UVs, there's absolutely no difference.

But, again, smart question, thank you for trying! Really appreciate the assistance!

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

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

MMD How to export model and animations to Unity as 3rd person controller? 2 Answers

Adjust Import Settings For Many Blend Files 1 Answer

Why Does My Model Look So Smooth & Dull 1 Answer

Maya models and lightmapping issue 1 Answer

Upon Importing an .FBX model file the rig gets askew 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