Excuse me but,

EDIT: so since it’s not possible with particles, what about meshes (for example cubes) that have been instantiated

is there a way to combine different instances of particles into the same draw call?

I ask because the game I have been putting together instantiates bullets, but the bullets are pretty slow so you can see them while they emit particles.

Since I have many of these bullets, and they are all the same, can the particles be combined into fewer draw calls?

Particle systems can’t be combined. (Please try to use descriptive thread titles; “Excuse me but,” doesn’t mean anything.)

–Eric

There is no way to change the title, is there?

Go Advanced

Not so it’s visible in the main forum, but you can sort it out for your next posts in the future :slight_smile:

Okay but I hope that you can still help me. Since particles is out of the question, what about cubes that have been instantiated? Can they all be combined ?

As long as your Instantiated objects share the same material and mesh, they get dynamically batched (Unity does that automatically). I wrote my own particle system that operates on this principle. You can find the post here :

http://forum.unity3d.com/threads/115445-Open-Source-Particles

Unfortunately the code is on the wiki, which is currently unavailable.

By the way is it only me or is unity wiki broken?

Oh man that is a huge bummer. It’s been down for days perhaps even weeks!

Thank you for the links, though

and you are right! It combines automatically

A search on Yahoo lead me to it in it’s archive:

Unity Open_Source_Particle_System

http://search.yahoo.com/r/_ylt=A0oG7kf80xBPG1UArw5XNyoA/SIG=19vmofqkt/EXP=1326531708/**http%3A//74.6.238.254/search/srpcache%3Fei=UTF-8%26p=Unity%2BOpen_Source_Particle_System%26fr=yfp-t-701%26u=http%3A//cc.bingj.com/cache.aspx%3Fq=Unity%2BOpen_Source_Particle_System%26d=4977060038052446%26mkt=en-US%26setlang=en-US%26w=5cd651b8,734dfc3a%26icp=1%26.intl=us%26sig=PQN3OX5o3xUbnz79bmjlIQ--