• 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
5
Question by Daniel-F · Mar 19, 2015 at 10:17 AM · unity 5skyboxperformance optimizationcullingsky

Skybox uses 1.7k Tris and 5.0k Verts even if occluded?

In Unity 5.0.0f4, if I start a new project, the empty default scene is listed as having the following in Stats: Batches: 2, Tris: 1.7k, Verts: 5.0k

(In an existing project, Batches won't go below 6 in an empty scene. I'm not sure what causes the difference.)

Anyway, changing the camera's Clear Flags to Solid Color reduces Batches, Tris and Verts to 0, so it must be caused by the skybox. However, if I use six primitives to enclose the camera in the middle of a hollow cube, the Stats remain unchanged (except that Batches increases).

My questions are:

  1. Why does the skybox need so many polygons?

  2. Is there a way to cull areas of the skybox that aren't visible? (Or the entire skybox?)

  3. Is there any sort of simpler, $$anonymous$$gh-performance skybox render method available for mobile development?

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

1 Reply

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

Answer by Zakari · Oct 10, 2017 at 07:24 AM

@Daniel-F Sorry i'm 2 years late, I know just the answers you're looking for. 1. the default skybox is a sphere with a procedurally created texture. Spheres are $$anonymous$$gh in verts, so naturally an empty scene will have 5k verts used. 2. I do not t$$anonymous$$nk that would work out well, you may need to write your own skybox shader to allow culling, but i do not currently know how that would work. 3. I know that switc$$anonymous$$ng to a cubemap will bring verts down to 40, I'm working on a shader that makes the whole skybox a single color, so it takes up very little verts. Switc$$anonymous$$ng to a cubemap made my empty scene's 70-80 fps go up to as $$anonymous$$gh as 512 fps with not$$anonymous$$ng in it. Therefore, swit$$anonymous$$ng to a cubemap would be the best skybox for mobile development.

You're welcome-Zak Kaioken

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

creating skybox material problem 1 Answer

personalized SkyBox 1 Answer

Add Light Source to Sun in Environmental Lighting with Unity 5 by Script? 3 Answers

Connecting the horizon scenery and skybox at high altitutde: is this an appropriate use of culling masks? 0 Answers

Only some skyboxes work?? 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