G
Greg5000
Guest
Okay so I've been making my own isometric engine which uses textured primitives to draw blocks and then surfaces to draw lighting on both horizontal and vertical surfaces and it looks pretty cool.
My problem now is that when I draw more than about 10 blocks on screen at any one time my FPS plummets and the debug bar shows about 100 texture swaps.. I realise that drawing primitives breaks the batch, but has anyone found a way to get past this? Primitives are allowing me to achieve some nice simple effects I couldn't otherwise do but I seem to be getting bogged down by the draw pipeline..
Would appreciate any advice. Oh and by the way I'm using a patent object to draw all blocks.
My problem now is that when I draw more than about 10 blocks on screen at any one time my FPS plummets and the debug bar shows about 100 texture swaps.. I realise that drawing primitives breaks the batch, but has anyone found a way to get past this? Primitives are allowing me to achieve some nice simple effects I couldn't otherwise do but I seem to be getting bogged down by the draw pipeline..
Would appreciate any advice. Oh and by the way I'm using a patent object to draw all blocks.