Merge pull request #1180 from ousttrue/fix/different_size_metallic_occlusion_texture_export_message

Error Message
This commit is contained in:
PoChang007
2021-09-01 16:23:54 +09:00
committed by GitHub

View File

@@ -93,7 +93,7 @@ namespace VRMShaders
var occlusionPixels = linearOcclusion.GetPixels32();
if (metallicSmoothPixels.Length != occlusionPixels.Length)
{
throw new NotImplementedException();
throw new NotImplementedException("Resizing not implemented, please ensure Metallic and Occlusion textures are the same size!");
}
for (int i = 0; i < metallicSmoothPixels.Length; ++i)
{