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 robinking · Jul 28, 2011 at 11:45 AM · shaderiosparticlesalpha

Bad slowdown with particles on iOS

I have 2 prefab particle emitters which don't use a lot of particles (max emmission 16 each) and when I put it on my iPhone 4 I get quite bad slowdown. They both use the same material. I've tried using different shaders - I didn't get slowdown when using a non-transparent mobile shader so it must be the alpha blending on the shader. However I've tried all the mobile particle shaders, and Mobile > Transparent > VertexLit, and a lot of the non-mobile transparent shaders too and they all have the same problem. It seems odd that so few particles could cause such a bottleneck?

EDIT: My question is, which of the built in shaders is best for what I'm doing, on the platform on which I'm doing it?

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 robinking · Jul 28, 2011 at 04:24 PM 0
Share

I wonder why I got a thumbs down vote?

avatar image FLASHDENMARK · Jul 28, 2011 at 04:33 PM 1
Share

Yes but, I dont see a real question here I guess that is why you got voted down.

avatar image Statement · Jul 28, 2011 at 05:02 PM 0
Share

Yeah, read through your own text. It's not clear what you want to get an answer for.

avatar image robinking · Jul 28, 2011 at 05:16 PM 0
Share

Ah, ok, I've edited the question.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Peter G · Jul 28, 2011 at 05:05 PM

Its probably has to do with overdraw and filtrate issues. Its a know fact that you want to avoid overdraw on iOS. Particles require quite some overdraw as well as being transparent which is also expensive. Given that you said the slowdown is worse on iPhone 4 which has the retina display, it is almost definitely overdraw related.

Fixes:

  • This page goes into some answers

  • Avoid alpha, but if you have to, always use Alpha-Blended over alpha testing.

  • Try to keep objects from overlapping, with particles this is difficult so you can do a few tricks.

  • When your particle emitter gets right up next to the camera so that it takes up a majority of the screen you should try to: 1. Release fewer particles. You will have to redraw everything behind them, so the fewer particles you have to draw, the better.
    2. Shrink the size of the particles for the same reason.

  • Both these optimizations are really only necessary when you get up close to the particles because otherwise it looks unnatural.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to Remove Shiny part of an alpha texture in Particle VFX,Particle System remove shiny part of alpha material 1 Answer

Shader help (Animating Alpha values does not work on it!) 1 Answer

Particles with the "Mobile/Particles/Alpha blended" look very dark on Nexus 4 0 Answers

Large particle overdraw on IOS 0 Answers

My Dream Shader 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