When using the PIXI.Graphics class to draw shapes, I discovered a huge performance boost by drawing my shapes a fraction of the wanted size and scaled it back to fullscreen, because of the reduction of the number of vertices used to draw the shape.
I wonder if there is a more direct way to tell PIXI to draw shapes with a reduced resolution/with less vertices? I could not find anything in the docs.
Any idea to achieve this? Thank you!
So the question has been answered in the github discussion's tab.
To quote @bigtimebuddy there :
You may want to checkout GRAPHICS_CURVES options. You can try increasing the
maxSegmentsandmaxLength.