I have a problem in which in my game I have to use SpriteSortMode.Texture
because I have a lot of objects with few textures, so I cannot afford to use SpriteSortMode.BackToFront
.
The thing is this means I cannot draw by layers, unless I do SpriteBatch.Begin
with the exact same settings, which is what I'm currently doing.
I only have 3 draw layers I need - a Tileset surface, Objects like rocks or characters on the surface, and UI.
Other solutions I've found is using texture quads (which supposedly also improves tileset drawing performance), going 3D with orthogonal view which I haven't researched yet.
I'm hoping there's a better to make this work.