mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 14:29:38 -05:00
RemapEditorBase に externalObjectMap を保持しない
This commit is contained in:
@@ -22,18 +22,12 @@ namespace VRMShaders
|
||||
|
||||
public static void ConfigureNormalMap(Texture texture, TextureImporter textureImporter)
|
||||
{
|
||||
#if VRM_DEVELOP
|
||||
Debug.Log($"{texture} => normalmap");
|
||||
#endif
|
||||
textureImporter.textureType = TextureImporterType.NormalMap;
|
||||
textureImporter.SaveAndReimport();
|
||||
}
|
||||
|
||||
public static void ConfigureLinear(Texture texture, TextureImporter textureImporter)
|
||||
{
|
||||
#if VRM_DEVELOP
|
||||
Debug.Log($"{texture} => linear");
|
||||
#endif
|
||||
textureImporter.sRGBTexture = false;
|
||||
textureImporter.SaveAndReimport();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user