Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 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 /
avatar image
0
Question by InnovationTechnicStudio · Feb 28, 2020 at 08:49 AM · camerameshrendering

Plane is not rendered when look up

Hi, I use Unity 2018.2.7f1. I've created a plane and edit his mesh (vertices). Additionally I added the FPSController from the Standard Assets Pack. It rendered very well, but if I look up a bit, the plane is not shown althougt it must be there. How can I fix this? Thank you for your help

Comment
Add comment · Show 2
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 kskjadav007 · Feb 28, 2020 at 09:18 AM 0
Share

Use Cube insted of plane .

avatar image InnovationTechnicStudio kskjadav007 · Feb 28, 2020 at 09:31 AM 0
Share

I want to use the advantages of an plane, like the 11*11 vertices. It's faster than cubes.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Namey5 · Feb 28, 2020 at 10:43 AM

It's hard to tell exactly what is happening without further description, but I see two ways of reading this;


  1. The plane is invisible from underneath - this is caused by backface culling and you will either need to manually add the backfaces as their own triangles with flipped normals, or use a double sided shader.


  2. The plane disappears when not looking directly at it, but it should still be visible (which is what I would assume this is about). As an optimisation to the rendering process, on top of culling offscreen vertices in the shader, Unity will also cull entire objects based on their pre-determined 'bounds' (a box in which the entirety of the mesh will fit). This works great, but if you edit the mesh manually without adjusting the bounds, the object can be culled prematurely.

Luckily, this is fairly simple to fix; if you know what the bounds of the mesh should be, you can set them directly, i.e.

 Bounds bounds = new Bounds (...);
 mesh.bounds = bounds;

However, if you don't already know the bounds there's no need to calculate them yourself - the mesh class has a built-in function to do just that;

 mesh.RecalculateBounds ();

https://docs.unity3d.com/ScriptReference/Mesh.RecalculateBounds.html

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 Bunny83 · Feb 28, 2020 at 11:06 AM 1
Share

-.- I had already an answer written similar to yours but I got interrupted before I submitted it :). Anyways I didn't even mention the single-side-ness of a mesh so your answer is even more "complete".

+1

avatar image Namey5 Bunny83 · Feb 28, 2020 at 11:37 AM 1
Share

I have a habit of opening a bunch of questions at once and answering them over time without refreshing the page, so I know how you feel.

avatar image Bunny83 Namey5 · Feb 28, 2020 at 12:29 PM 1
Share

I just recently closed "some" old Unity answers tabs. Specifically about 2100 of them ^^.

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

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

Render inside of mesh as black 2 Answers

Find out a list of vertexes of a mesh that can be seen from a camera. 0 Answers

stencil mesh,stencil mesh-how to i get a stencil mesh to a camra rendering pipe to cull the mesh behand the mesh. dimish the draw call count 0 Answers

Synchronising the rotation around Y axis of two objects 1 Answer

Passing Underneath Section of a Mesh 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