Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 vahag1313 · Jul 27, 2016 at 09:20 PM · mobilegraphicsdrawcallsmobileoptimizationgraphics card

Help me to optimize my mobile game

Hello game devs I have a mobile game and the main scene has many sprites in 3D apace which are layed on top of each other, almost all the sprites share the same material and can be batched togather, but I also have some other objects (again sprites) between those layers and they of course break batching, almost all sprites are semitransparent, after all I have 10-20 drawcalls, 15 on average, overdraw is high and I have 0 batched draw calls. And the reason I told you my story is due to the performance issues I have. On some devices it overheats after some time and the device starts to throttle. I have done lots of profiling and it's obvious for me that this is GPU bound, CPU wastes 70% of the time waiting for GPU to render, GPU runs at 100% , used Adreno profiler. What can you suggest how to solve this problem? Example device CPU - Snapdragon 808 GPU - Adreio 418 Thanks in advance ))

Comment
Add comment · Show 4
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 aditya · Aug 01, 2016 at 10:13 AM 0
Share

Try turning off 32 bit display buffer in Edit > Project settings > Player

avatar image vahag1313 aditya · Aug 03, 2016 at 08:00 AM 0
Share

Thank you this seems to be helpful, I'll try it and will let you know about it.

avatar image Xydez · Aug 01, 2016 at 12:42 PM 0
Share

Try to check your scripts and remove unused variables also you can make your sprites in lower resolution

avatar image vahag1313 Xydez · Aug 03, 2016 at 08:04 AM 0
Share

Thanks for comment, but I think removing unused variables and making sprites smaller will only help me to reduce memory usage, which is already pretty low ~100mb

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DenisM · Aug 03, 2016 at 08:43 AM

1) Do you got any particle systems? if yes, then try to simplify them, or bake them in to animation.

2) why do you got a lot overdraw? can you show some samples of what you are trying to achieve?

3) You can use premultiplied alpha blending. It cost less when talking about calculation of pixel and draw calls.

4)You can use opaque shader on non transparent sprites.

5) Turn off any anisotropic filtering on every textures if your game is 2d.

6) Turn off spriterenderer if alpha of color is 0. "render.enable = render.color.a != 0;"

7) If you got a LOT of overdraw and cant avoid it you can render your part of the scene with most heavy overdraw to render texture with low resolution and then blend it to your fullscreen scene.

8)Do your scene need to update or its static? If its static you can render your scene in to render texture and then use it. And rerender it when only something change.

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

86 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

Related Questions

How to manage images in good resolution in Mobile App 0 Answers

How do I batch procedural objects? 1 Answer

Anti Aliasing on Mobile 3 Answers

3D performance on mobile platforms? 1 Answer

Bloom/Neon effect Mobile 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