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 S37H · Dec 25, 2013 at 08:41 PM · cullingocclusion culling

Interior appears larger than exterior

Are there any relatively inexpensive rendering tricks for making an interior space appear larger than the exterior? Like a small house that has huge room inside (you can see it through the doorway / windows - and enter it as well so it actually has to be a real space on the inside.

Maybe some kind of occlusion mask that hides any overlapping stuff if you're inside or can see into it through "holes".

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 Statement · Dec 26, 2013 at 03:25 AM

I am thinking you could do this by having two separate areas. One area models the exterior, another area models the interior. You could have a camera following each so they are in sync, and let the second camera render onto only where a mask has rendered, which should be your windows and doorways. Once your character walks into, or near, or through the doorway, teleport the character into the building. It may be hard to get it to look seamless, but with some practice and with some special shaders to address cutting out the windows I think it should be doable. You may need to also animate the fov and projection settings of the camera as you go through, although I am only speculating as I haven't really done this before, but played with the idea of blending between two completely different areas with nice looking shader effects.

An example for rendering masks, you could render alpha or depth or some other kind of texture mask to produce the cutout, with special geometry placed along your windows. The second camera should only render onto those masked areas while looking from outside.

It's not a very detailed recepie I give you, but to go through this in detail would take a fair amount of time, at least for me. I hope you will be able to proceed forward on your own and that someone else comes by and leaves their thoughts on the problem to get some diversity. It may be easier than this, I just don't know.

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 S37H · Dec 26, 2013 at 04:25 AM 0
Share

Thanks for the direction guys! I'll test some of this out and try to report back with more details if I get it to work!

avatar image
0

Answer by emc233 · Dec 25, 2013 at 10:34 PM

You can load a new level when you enter the building. You can shrink your character and main camera perspective. When you walk in the house, you can teleport to a different area in the scene

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

20 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

Related Questions

Occlusion Culling 1 Answer

Unity Occlusion unable to recognize Occludee and Occluder? 1 Answer

Hide Objects behind Wall (without using static Objects) 0 Answers

culling gizmos in scene view 0 Answers

Occlusion culling at runtime 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