Support for multiple objects in a model with different materials