Quantcast
Channel: Questions in topic: "renderqueue"
Viewing all articles
Browse latest Browse all 161

Sorting Sprites with a Perspective Camera

$
0
0
I have a bunch of sprite characters with multiple sprite meshes. i.e. head, body, arms. I need to sort the different meshes so I tried setting the RenderQueue on the materials of each sub mesh. However this breaks Dynamic Batching and bloats my Draw Calls in the scene. Is there any other way to sort the sub meshes on my characters so I can control what is drawn over what. Preferably a method that works with a perspective camera as my playfield has depth that is required for gameplay.

Viewing all articles
Browse latest Browse all 161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>