Archived

This topic is now archived and is closed to further replies.

wonyee

use SetTexture for each tile?

Recommended Posts

usually i call SetTexture and DrawPrimitive for each tile. but i think it''s costly. maybe i should sorting them in VB and draw tiles with same texture in one call , but isometric tiles should be drawn with particular order, i wonder whether it works. on the other hand, sorting and rearrange IB is also a cost. dose anyone have better ideas or have actually implement some demos ? thanks in advance

Share this post


Link to post
Share on other sites