Game Development Community

multi-sub limit?

by PGames · in Artist Corner · 05/09/2010 (8:41 pm) · 1 replies

Is there a limit to the amount of multi-sub materials T3D can handle? I'm running into a problem where if I have over 20 materials in a multisub, a lot of them will show up as orange (newmaterial) in the game.

#1
05/10/2010 (7:46 am)
I dont think anyone has ever tried so many, so its impossible to say if there is a limit or not.

With that said however you should look at splitting everything out into its own unique material (or combining), as each multi-sub you use results in another draw call for the object. So if you have 1 mesh with 20 multi-subs thats 20 draw calls, and it grows from there the more meshes you use.