mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 03:48:19 -05:00
Allow Texture not Texture2D
This commit is contained in:
@@ -131,7 +131,7 @@ namespace VRM
|
||||
|
||||
case ShaderUtil.ShaderPropertyType.TexEnv:
|
||||
{
|
||||
var texture = m.GetTexture(name) as Texture2D;
|
||||
var texture = m.GetTexture(name);
|
||||
if (texture != null)
|
||||
{
|
||||
var value = textures.IndexOf(texture);
|
||||
|
||||
Reference in New Issue
Block a user