mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Texture inheritance for materials, also script access
This commit is contained in:
@@ -476,10 +476,11 @@ class MaterialAssetLoader : IAssetLoader, IAssetSaver //, IReloadingAssetLoader
|
||||
materialFile.Textures = new .();
|
||||
materialFile.Variables = new .();
|
||||
|
||||
for (let (slotName, texture) in material.[Friend]_textures)
|
||||
// TODO: Fix
|
||||
/*for (let (slotName, texture) in material.[Friend]_textures)
|
||||
{
|
||||
materialFile.Textures.Add(new String(slotName), texture.Handle);
|
||||
}
|
||||
}*/
|
||||
|
||||
Effect effect = material.Effect;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user