Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Particle making my scene slow

Discussion in 'Scripting' started by schetty, May 15, 2014.

  1. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    Hi there,

    In my project i am using the particle system for the effects. Right now i am working for a android platform, when i enable the particle system my fps rate is reduce half its getting down from 60 to 30 and below that also.

    If i dont enable the particle system scene going on the same fps rate.

    So please help me how to optimize the particle system for the android platform?


    Thanks.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,988
    Are you using mobile particle shaders?
     
  3. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    yes, i used both shaders but no use. Still frame rate is getting damage.
     
  4. ar0nax

    ar0nax

    Joined:
    May 26, 2011
    Posts:
    485
    look at the render part of the particle system, and make sure they do not cast and receive shadows because if you have a light in your scene that will get a bit of "damage" to your frames :D
     
  5. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    i change the mobileparticle shader and uncheck the receive shadow. its helping, now i my frame rate is reducing 60 to 40 if i enable the particle.
    Can i make it more frame rate better than this?
     
  6. RalphH

    RalphH

    Unity Technologies

    Joined:
    Dec 22, 2011
    Posts:
    592
    Are you spawning a large amount of particles ?
     
  7. schetty

    schetty

    Joined:
    Jul 23, 2012
    Posts:
    424
    yes, little more. I am creating the dust particle which is available in the scene until the user press the button.