浏览代码

Potential fix to the remap node, removed forward slash in input names

/main
Andre McGrail 8 年前
当前提交
76834d6a
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 8
      MaterialGraphProject/Assets/Matt&Andre/RemapNode.cs

8
MaterialGraphProject/Assets/Matt&Andre/RemapNode.cs


public class RemapNode : AbstractMaterialNode, IGeneratesBodyCode, IGeneratesFunction
{
protected const string kInputSlot1ShaderName = "Input1";
protected const string kInputSlot2ShaderName = "InMin";
protected const string kInputSlot3ShaderName = "InMax";
protected const string kInputSlot2ShaderName = "InMinMax";
protected const string kInputSlot3ShaderName = "OutMinMax";
protected const string kOutputSlotShaderName = "Output";
public const int InputSlot1Id = 0;

protected virtual string GetInputSlot2Name()
{
return "InMin/Max";
return "InMinMax";
return "OutMin/Max";
return "OutMinMax";
}
protected virtual string GetOutputSlotName()

正在加载...
取消
保存