mirror of
https://github.com/maxartz15/MA_TextureAtlasser.git
synced 2025-06-12 22:39:59 +02:00
Update/bugfix texture export, folder creation, minor changes.
Bugfix texture export: where textures regarding of their settings would be exported as sprites. Update texture export: original textures will now be copied to get the pixel values with the correct import settings applied to prevent strange-looking normal maps and color changes. Folder creation: the required folders will now be created by the tool, no need anymore to save empty folders. Minor changes: Renamed some variables, testing a new layout error fix, started working on material export.
This commit is contained in:
@ -12,6 +12,7 @@ namespace MA_TextureAtlasserPro
|
||||
|
||||
public ModelExportSettings modelExportSettings = new ModelExportSettings();
|
||||
public TextureExportSettings textureExportSettings = new TextureExportSettings();
|
||||
public MaterialExportSettings materialExportSettings = new MaterialExportSettings();
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
@ -60,4 +61,12 @@ namespace MA_TextureAtlasserPro
|
||||
Sprite,
|
||||
SpriteSliced
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class MaterialExportSettings
|
||||
{
|
||||
[Header("Material settings:")]
|
||||
public string shader = "Standard";
|
||||
public string[] shaderPropertyNames = { "_MainTex", "_MetallicGlossMap", "_BumpMap" };
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user