Prewarm function
Hello I'm using shapes (it's amazing) and I wonder if a prewarm function exists ?
Because the first time my line is renderer I got a huge lag spike.
Thank you !
Reporting a bug? please specify Unity version:
2021.3.5f1
Reporting a bug? please specify Shapes version:
4.2.1
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Had the same issue and MoDDiB's prewarm approach works for me as well :)
Would be great to have a "Prewarm" or "Init" Method we can call, since ShapesMaterialUtils is not public, so I needed to adjust the plugin code