浏览代码

Changed input slot IDs for backward compatibility.

/main
Keijiro Takahashi 7 年前
当前提交
8c83fd3d
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 4
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Adjustment/ReplaceColorNode.cs
  2. 4
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Mask/ColorMaskNode.cs

4
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Adjustment/ReplaceColorNode.cs


[Slot(1, Binding.None)] ColorRGB From,
[Slot(2, Binding.None)] ColorRGB To,
[Slot(3, Binding.None)] Vector1 Range,
[Slot(4, Binding.None)] Vector1 Fuzziness,
[Slot(5, Binding.None)] out Vector3 Out)
[Slot(5, Binding.None)] Vector1 Fuzziness,
[Slot(4, Binding.None)] out Vector3 Out)
{
Out = Vector3.zero;
return

4
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Artistic/Mask/ColorMaskNode.cs


[Slot(0, Binding.None)] Vector3 In,
[Slot(1, Binding.None)] ColorRGB MaskColor,
[Slot(2, Binding.None)] Vector1 Range,
[Slot(3, Binding.None)] Vector1 Fuzziness,
[Slot(4, Binding.None)] out Vector1 Out)
[Slot(4, Binding.None)] Vector1 Fuzziness,
[Slot(3, Binding.None)] out Vector1 Out)
{
return
@"

正在加载...
取消
保存