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 sean 6 · May 03, 2011 at 08:56 PM · cullingbackface

Problem with models and inside of them.

Ok, so i use cinema 4d to model my game objects and basically everything. I made a room sorta thing in c4d and its a closed shape and i realized when i walk inside the room it is clear, and it looks like its not there. so i noticed unity only "renders' the outside of a model, is there a way to change that? Thanks

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

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by flaviusxvii · May 03, 2011 at 09:04 PM

Backface culling. It's a rendering optimization. Most of the time you don't need to draw triangles that are "facing" away from the camera because they are obscured by other triangles.

http://answers.unity3d.com/questions/711/transparency-and-backface-culling

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 Bunny83 · May 03, 2011 at 10:37 PM 0
Share

Well, that's a solution for self-illum / transparent shaders. One face (or better one vertex) has only one normal vector. The lighting would be wrong for one side. The best way for rooms that have walls that can be seen form both sides is what Apples_mmmmmmmm suggested. Actually real walls also aren't that thin so in general a wall should have a volume.

avatar image
1

Answer by Noah-1 · May 03, 2011 at 09:20 PM

Just invert the faces and problem solved.

Good Luck

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
1

Answer by Apples_mmmmmmmm · May 03, 2011 at 10:25 PM

I assume from the way it's described that the room you made is one object. Because of this, only one side of this object can be lit. If you want to be able to see the inside and outside of a "room" then I suggest modeling 4 seperate walls (if it's a square/rectangular room, and if it's square then you can simply duplicate one wall 4 times, line them so that they evenly line up with each other, once that's done cut a hole in one wall in order to make a doorway.) By doing it this way, the outer faces of each wall piece will be seen and you can simply combine the objects in order to move it around easily.

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 sean 6 · May 03, 2011 at 10:14 PM

ok, cool thanks a lot now 1 more questing, is there a way to instead of inverting faces so there seen from inside do something where there seen from inside and out, im thinking mabey just creating 2 models 1 inverted and one normal and aligning them

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 flaviusxvii · May 03, 2011 at 10:35 PM 0
Share

You shouldn't use answers to ask more questions. Either leave a comment on an answer or ask a new question. If you follow the link i posted you'll see that you can disable the culling, so you won't need two models, it'll just always draw.

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

No one has followed this question yet.

Related Questions

Game Object Backface Optimization for Mobile 1 Answer

Problem with flipping ! 0 Answers

[URP] How to cull front faces of the mesh when viewing through its culled backfaces? 0 Answers

backface culling 1 Answer

How to know when a plane's back face is being culled? 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