private void LoadTextures(string materialDirectory)
        {
            foreach (var textureSlot in textureSlots)
            {
                string path = Path.Combine(materialDirectory, textureSlot.FilePath);

                try
                {
                    Texture newTexture = new Texture(path);//Texture.Load(path);
                    textures.Add(newTexture);
                }
                catch (Exception e)
                {
                    Log.Fatal(e.Message);
                }
            }
        }
 public void AddTexture(Texture t)
 {
     textures.Add(t);
 }