- Home /
Draw 2D circles/squares efficiently
I'm doing a lot of 2D simulations using Unity, and I usually instantiate a lot of squares/circles sprite. When the number of sprites reaches 1k or higher, the FPS usually reduces to 10-20, which makes everything really slow/unusable.
So my question is, how can I draw 2D squares/circles with less impact on frame rate? The only requirements are that the color, position and scale of individual squares/circles must be changeable (for the simulation), and the squares/circles must be filled (with that color).
Answer by MarekRimal · Apr 07 at 08:27 PM
I dont have much experience with it but try to look at GPU instancing. That may be what you are looking for.
Your answer
Follow this Question
Related Questions
a ton of sprites vs sprite-tiling on one object 0 Answers
2D game Animation export VS Animation sprites. 1 Answer
Unity render lag questions 1 Answer
2D | A better way than just to create a ton of sprites. 1 Answer
Low FPS on empty scene 4 Answers