Search Unity

Runtime instantiation of objects; how to batch?

Discussion in 'General Graphics' started by GSO_GT, Mar 23, 2020.

  1. GSO_GT

    GSO_GT

    Joined:
    Aug 30, 2019
    Posts:
    17
    Hello all!

    This is probably a relatively simple problem to solve but I'm not really sure.
    I have a runtime application that creates thousands of meshes at runtime. A material is then attached to the renderer (all the meshes uses same materials).

    My drawcall is about 3000 and I wish to increase the program's fps ( currently 3-5 ). I'm not sure if it can be batched under static because the application is a geospatial application and the objects are required to be scaled up and down depending on the size of the map.

    Any help is appreciated. Thank you!
     
  2. TheGamedevGuru

    TheGamedevGuru

    Joined:
    Jun 3, 2015
    Posts:
    10