MeshParticleRenderer for Unity3D

The mesh particles are frequently used in 3D games. But the Unity Engine only have a billboard particle renderer. Luckily, it’s not difficult to create a mesh-based particle renderer, which works together with Unity’s built-in ParticleEmitter component.

Here is the code: MeshParticleRenderer on Github

To use it, use “Components -> Particles -> Mesh Particle Renderer” to add it to an existing particle system. You could remove / disable the original ParticleRenderer component if you like.

All the meshes are pre-allocated. So if you make the particle object a prefab and use an object-pool to manage them, most of the memory allocation in run-time could be avoided. That’s important for games, especially on mobile platforms.


3 thoughts on “MeshParticleRenderer for Unity3D

  1. Hi,
    i’m trying to use this, but i am getting an error msg:
    MissingComponentException: There is no ‘ParticleEmitter’ attached to the “Particle System” game object, but a script is trying to access it.
    You probably need to add a ParticleEmitter to the game object “Particle System”. Or your script needs to check if the component is attached before using it.
    any idea what i should modify?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s