mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 03:48:19 -05:00
Merge pull request #1180 from ousttrue/fix/different_size_metallic_occlusion_texture_export_message
Error Message
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user