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 dspruill · Oct 10, 2018 at 10:42 PM · materialsfbxmodels

How to color the (transparent) underside of a mesh

Hello, I believe this is a relatively simple question. I have a tent model that looks fine on the outside, but once you step inside of the tent, the entire underside of the tent is transparent and you can see out of it as if walls didn't exist. I'm sure this question has been asked somewhere, but alas, I could not find it and asked here. Here's what it looks like. Any help would be much appreciated! alt text

I should also probably add that I attempted to fix this problem in blender, but it looked non-transparent there. After exporting as fbx, it's transparent.

screen-shot-2018-10-10-at-33451-135pm.png (51.5 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 toddisarockstar · Oct 11, 2018 at 12:17 AM 1
Share

this is just how video cards and there rendering works. it doesnt really have anything to do with unity. faces and trianges show from one side. if you want to show the inside of your tent you have to model it in your modeling program.

hopefully your modeling program has an option to "flip Normals". you would make a copy with flipped normals and combine it with the original so your fbx file has the extra inside faces so that unity can render it.

1 Reply

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

Answer by MacMC · Oct 11, 2018 at 02:58 AM

So, this is basically how game engines work. It's referred to as "backspace culling" if you want to look into it further. Only the triangles with front-facing normals are paid any attention. By extension, if you ever import a model and you have 'missing' faces, improperly set up normals are probably why. There are essentially two options to fix this.

  1. Model the inside of the tent. Probably the best looking and least troublesome option, but of course, it will require more time and effort to do.

  2. Enable backface culling within the shader. This is as simple as setting a flag. You can either write your own shader or find one, it is relatively easy to do especially with a shader graph tool (which I think is built in to unity now?) . While it's easy and fast, the downside is that it's essentially just 'reversing' the same face, because it technically is. So it will share whatever texture is present, and so on and so forth.

Hope that helps!

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 dspruill · Oct 11, 2018 at 04:19 AM 0
Share

Thanks so much, for anyone possibly viewing this in the future, I went into blender, duplicated the model, ctrl + n to flip the normals and resize the interior to fit. Worked like a charm. Thanks!

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

95 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

Related Questions

Unity material pipeline 1 Answer

share or reassign materials 0 Answers

Models referencing textures 1 Answer

Animate fbx models inported into unity scenes 1 Answer

How to properly import Google Sketchup Models? 2 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