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 Alanimator · Mar 02, 2014 at 11:34 PM · meshdrawcallsgpu

best way to create Multiple instances of space rocks without taxing the GUP too much

I have created about four different space rock models , each with about over 1000 verts . they are rather taxing on my GPU . I have checked my stats in the profiler . the draw calls currently hit a max of 186 and I have very few objects in my scene to render at any one time at the moment.

I am using a rather old machine so if i can get the game running smooth on it it should work well on any other machine .

so what methods are best for adding space fog and meteorites without murdering my GPU.

Comment
Add comment · Show 5
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 Kiloblargh · Mar 02, 2014 at 11:45 PM 1
Share

Not enough information to help you. A screenshot would help, as would a shot of your stats window and/or profiler.

$$anonymous$$ake lower-poly LOD models- there's no reason why a 1-meter asteroid at 50 meters away needs 1000 verts- and make sure you are using a shader on them that only takes one draw call.

avatar image Alanimator · Mar 03, 2014 at 12:53 AM 0
Share

I'm unable to upload any images right now ,i dont have my unity project on this computer .

that is what i'm about to work on . I figured i was using too much complex geometry . I can compensate for the lack of structural detail with a decent texture and shader. thanks for that tip .

avatar image iHaveReturnd · Mar 03, 2014 at 01:17 AM 1
Share

I know you said it's a GPU issue, but wanted to bring this up in case you plan to have collision on the rocks down the road. I did a project where I had an asteroid belt type deal, and ran into some pretty heavy lag issues when I allowed the asteroids to have collision with each other, just because it was calculating so much physics with all that collision stuff.

Other than that just do what the above said, low poly versions help, use normal maps to make it look like they have more geometry than they do. You can generate normal/bump maps from the higher poly ones.

avatar image robertbu · Mar 03, 2014 at 01:48 AM 1
Share

Agree with @$$anonymous$$iloblargh that there is not enough information to give a focused answer. You might consider using a texture atlas so that your rocks would batch. $$anonymous$$ight consider doing some procedural manipulation of the vertices to give your rocks a different look without changing the material (and therefore they will batch). Rather than jump on any one solution, consider collecting a list of techniques and running some tests. Note that for drawcall batching, there is a limit of 900 vertex attributes in the material.

avatar image Alanimator · Mar 14, 2014 at 08:17 PM 0
Share

i'm just going to spawn a bunch of spheres and manipulate their mesh to look like space rocks . they will take 1 draw call and fade when they are too far from the camera .

0 Replies

· Add your reply
  • Sort: 

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

21 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

Related Questions

More vertex or more texture ? 0 Answers

Will Unity support hardware mesh instancing? 0 Answers

Hidden triangles and performance. 0 Answers

Does setting Mesh.colors cause the entire mesh to upload to the GPU? 1 Answer

How to use Point and Spot Lights With Mesh instancing? 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