Changed the scene loading function to reuse textures instead of uploading a for every object