Sorting groups equivalent

Avatar
  • updated
  • Answered

Is there any approach with Shapes that can be used to give similar sorting results to how sorting groups work with Sprite Renderers. I'm using Shapes by instancing many prefabs which each have multiple shapes that have to be drawn in a certain order with respect to the prefab, but I also want each prefab instance to be drawn together as one group.

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
Freya Holmér
  • Answered

right now there's no sorting group component that will give you that behavior I'm afraid, unless Unity's sorting group component also magically works for shape components, but I'm guessing it's not since Shapes uses MeshRenderers rather than SpriteRenderers