Adding support for instanced geometry