General Performance Question

two examples:

a.
-one particle system that spawns 100 particles.
-four particle systems that spawn 25 particles each.
(all other parameters the same)

b.
-two SEPERATE objects that share one 512 x 1024 texture.
-two SEPERATE objects that have one 512 x 512 texture each.

are these computationally eqivalent? i tries some simple tests but can’t be sure if one way is better than the other.

combine, combine, combine. Repeat after me. Combine, combine, combine.

one particle system with many particles is faster than 2.

Sharing a texture is faster than not sharing a texture You also share the material of course.
Once you got them sharing materials, the step to combining it into one object isn’t too far off either. Which will give you a real big performance boost.

i have been combining my meshes grouping textures i just wasn’t sure if this carried over to particle systems as well.

i specifically mentioned “separate” for objects that are far apart affected by different lights and thus should not be combined as 1 mesh.

Does grouping objects together effectively “combine” them for rendering purposes?

I have a detailed flower object with a bunch of petals and some leaves. All of them belong to a single “flower” gameObject; would it be economical to merge them all together?

absolutely (make them one mesh share the material). relevant link here:

http://unity3d.com/Documentation/Manual/Optimizing%20Graphics%20Performance.html

as i just learned it works for particle systems as well ; )