Search Unity

Rendering 1000's of the same object?

Discussion in 'General Graphics' started by MikeUpchat, Oct 5, 2021.

  1. MikeUpchat

    MikeUpchat

    Joined:
    Sep 24, 2010
    Posts:
    1,056
    In my scene I have 1000's of the same mesh that are placed in the scene, currently I am doing that by placing lots of objects, would it be better to use a particle system and a mesh object for this, do you think there would be a big difference in performance? Or is there some other more performant way of handling this.
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285
    Generally, either a mesh particle system that uses gpu instancing, or a script that calls Graphics.DrawMeshInstanced[Procedural] will be the fastest options.