Is it possible?

i have around 7000 meshes (plain boxes) that are textured with ~ 60 textures. (each box has one texture)

is it possible to merge these meshes into a batch (using GeometryBatchCreator) and keep the multiple textures?



thanks

I don't think so. You can still gain a lot by "batching" the boxes with the same texture though.

Or you could use SharedNodes, which can have different RenderStates.

Still for the scenario you describe 60 GeometryBatches, one for each texture, is probably the best solution.

thanks for your reply