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
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, high-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 high in verts, so naturally an empty scene will have 5k verts used. 2. I do not think 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 switching 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. Switching to a cubemap made my empty scene's 70-80 fps go up to as high as 512 fps with nothing in it. Therefore, swithing 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.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Skybox disappears after I switch scene 1 Answer

how to make Panorama hotspot creation between 2 panorama? 0 Answers

Help performance issues 0 Answers

Cubemap Projection Shader 0 Answers

How to make skybox in Unity 5.0 1 Answer


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