x


Particle Emitter Breaks in emission. Help?

I'm using a series of Particle Emitters for a waterfall in the scene. (Don't currently have a better way to do it) It doesn't look bad, the only problem is the Emitter will run for about 10 seconds, then stop, then It'll restart and run for another 10 seconds or so and continue like this. The breaks in the waterfall are undesirable. Any Ideas?

more ▼

asked Apr 08 '10 at 05:48 AM

CalledToGaming gravatar image

CalledToGaming
190 21 24 30

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

The reason for this gap is that particle systems have a maximum number of particles that can be rendered at any one time.

The reason for the limit, is that each particle system is rendered with a single mesh, and Unity has a built-in upper limit for the number of vertices that any single mesh can use - 65536. Each particle uses 4 vertices, so that works out as 16384 particles (although in a test I just did, the total wouldn't go higher than 16250 particles... I guess there's something else going on there which causes the slight discrepency).

To solve your problem, turn the emission levels back down enough so that the "gap" stops occurring, and then if you need a denser effect, add a duplicate particle system in the same place.

You might even want to make a prefab of the original system, and then add instances of the prefab until it's dense enough - this will mean you can adjust the parameters in the prefab to affect every instance in your scene in one go.

more ▼

answered Apr 08 '10 at 09:28 AM

duck gravatar image

duck ♦♦
41k 92 148 415

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x643
x573
x321
x89

asked: Apr 08 '10 at 05:48 AM

Seen: 1643 times

Last Updated: Apr 08 '10 at 05:48 AM