Why do the shaders not support batching?

Avatar
  • updated
  • Answered

Hello!

I wanted to use static batching of the Shapes library in my game. I was wondering why the library currently disallow batching.

Thank you,

Blake

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Answered

Shapes relies on GPU instancing instead of static batching because of its dynamic nature - static batching wouldn't be possible given all the shader properties shapes allow currently

Avatar
Freya Holmér creator
  • Answer
  • Answered

Shapes relies on GPU instancing instead of static batching because of its dynamic nature - static batching wouldn't be possible given all the shader properties shapes allow currently