Fix bug when using material instance of material that uses GlobalSDF
This commit is contained in:
@@ -95,6 +95,7 @@ namespace FlaxEditor.Surface
|
||||
case MaterialParameterType.ChannelMask: return typeof(ChannelMask);
|
||||
case MaterialParameterType.GameplayGlobal: return typeof(GameplayGlobals);
|
||||
case MaterialParameterType.TextureGroupSampler: return typeof(int);
|
||||
case MaterialParameterType.GlobalSDF: return typeof(object);
|
||||
default: throw new ArgumentOutOfRangeException(nameof(type), type, null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user