Enhex
Can material parameters be used without creating a new material, so it can be batched?
Can material parameters be used without creating a new material, so it can be batched?
Batching requires the same state (including material & geometry), so you would need to put all the needed parameters into a single material, and put some identifying information in the vertex data so that the shader knows what parameters to use.