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