Original Post
Hey. I recently implemented a material/texture sorter for my application and was surprised to see how little it affected the actual performance. FPS Test -------- Non-sorted Ex1: 266 Ex2: 52 Sorted: Ex1: 289 Ex2: 57 Ex1: 126 textured cubes with 2 random materials Ex2: 730 textured cubes with 2 random materials -------- In more detail, what i do is that i group my meshes into 2 lists (since there are 2 materials in this example) and render each list separately with a SetTexture() state change between them. Does anyone know why? Also i would appreciate if someone posted an url with some MDX speed optimization tips because ive had a hard time finding one. Cheers /Johan