Added support for textured 3D models