Added support for dynamic meshes and BaseTexturesLibrary