render shapes fix to create all the materials for meshes