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
commit 3bc6963bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
{