|
|
|
|
|
|
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() |
|
|
|