浏览代码

Fix RectangleSelect + node selection highlight

Both issues were caused by the nodes positioning incorrectly being flagged as
Relative. Putting it to Absolute fixed all of this. It also messed with the
nodes positioning, which is why the ShaderGraphs had to be changed as well.

Signed-off-by: joce <joce@unity3d.com>
/main
joce 8 年前
当前提交
72ac3b4c
共有 4 个文件被更改,包括 437 次插入369 次删除
  1. 2
      MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Drawer/NodeDrawer.cs
  2. 358
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph
  3. 247
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph
  4. 199
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph

2
MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Drawer/NodeDrawer.cs


using UnityEngine;
using UnityEngine.RMGUI;
using UnityEditor.Graphing.Util;
using UnityEngine.RMGUI.StyleEnums;
using UnityEngine.RMGUI.StyleSheets;
namespace UnityEditor.Graphing.Drawing

public override void SetPosition(Rect newPos)
{
positionType = PositionType.Absolute;
positionLeft = newPos.x;
positionTop = newPos.y;
}

358
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph


m_Script: {fileID: 11500000, guid: 562bd27a5e73fc64d80a1d9d936ffbd5, type: 3}
m_Name: WithSubGraph
m_EditorClassIdentifier:
m_DrawingData:
m_SerializableSelection: []
m_MaterialGraph:
m_SerializableNodes:
- typeInfo:

\ \"m_Name\": \"MetallicMasterNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 771.655517578125,\n \"y\": 62.28950500488281,\n
\ \"x\": 1733.8780517578125,\n \"y\": 127.85113525390625,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Albedo\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Normal\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
2,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Albedo\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Normal\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 2,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Normal\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Emission\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
2,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Normal\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Emission\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 2,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Emission\\\"\\n}\"\n },\n
\ {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Metallic\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
4,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Emission\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Metallic\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Metallic\\\"\\n}\"\n },\n
\ {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"Smoothness\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
4,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Metallic\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"Smoothness\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Smoothness\\\"\\n}\"\n },\n
\ {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"Occlusion\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
4,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Smoothness\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"Occlusion\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Occlusion\\\"\\n}\"\n },\n
\ {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 6,\\n \\\"m_DisplayName\\\": \\\"Alpha\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
4,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Occlusion\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 6,\\n \\\"m_DisplayName\\\": \\\"Alpha\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Alpha\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_MaterialOptions\": {\n \"m_SrcBlend\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Alpha\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_MaterialOptions\": {\n \"m_SrcBlend\":
0,\n \"m_DstBlend\": 1,\n \"m_CullMode\": 0,\n \"m_ZTest\":
2,\n \"m_ZWrite\": 0,\n \"m_RenderQueue\": 1,\n \"m_RenderType\":
0,\n \"m_ShadowPass\": false,\n \"m_FullForwardShadows\": false,\n

JSONnodeData: "{\n \"m_GuidSerialized\": \"631f4909-24f0-4658-baba-c8c4572e0335\",\n
\ \"m_Name\": \"Texture\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 35.42873001098633,\n \"y\": -404.80279541015627,\n
\ \"x\": 1193.5181884765625,\n \"y\": 124.45823669433594,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_SerializedTexture\": \"{\\n \\\"texture\\\":
{\\n \\\"fileID\\\": 2800000,\\n \\\"guid\\\": \\\"330f42016073a97418a4aae5517e32c8\\\",\\n
\ \\\"type\\\": 3\\n }\\n}\",\n \"m_TextureType\": 0\n}"

JSONnodeData: "{\n \"m_GuidSerialized\": \"66307d31-2630-4f44-96d4-23139633f2d7\",\n
\ \"m_Name\": \"Texture\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 22.967119216918947,\n \"y\": -355.47174072265627,\n
\ \"x\": 1193.365478515625,\n \"y\": 474.4383850097656,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_SerializedTexture\": \"{\\n \\\"texture\\\":
{\\n \\\"fileID\\\": 2800000,\\n \\\"guid\\\": \\\"5a5e07ee958edbd468227e1d9ac4726a\\\",\\n
\ \\\"type\\\": 3\\n }\\n}\",\n \"m_TextureType\": 3\n}"

JSONnodeData: "{\n \"m_GuidSerialized\": \"57380e21-ab16-4f46-b629-e589a46b8d13\",\n
\ \"m_Name\": \"SubGraph\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -520.95068359375,\n \"y\": -103.82339477539063,\n
\ \"x\": 606.176513671875,\n \"y\": 1003.687744140625,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output 1(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output 1(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_SerializedSubGraph\": \"{\\n \\\"subGraph\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_SerializedSubGraph\": \"{\\n \\\"subGraph\\\":
{\\n \\\"fileID\\\": 11400000,\\n \\\"guid\\\": \\\"63179f4461979734ba87324ec6b1268d\\\",\\n
\ \\\"type\\\": 2\\n }\\n}\"\n}"
- typeInfo:

\ \"m_Name\": \"ColorNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -939.8272705078125,\n \"y\": -210.86141967773438,\n
\ \"x\": 108.4876937866211,\n \"y\": 1095.2840576171875,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Color\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Color\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Color\": {\n \"r\": 0.05449826642870903,\n
\ \"g\": 0.09659335017204285,\n \"b\": 0.9264705777168274,\n
\ \"a\": 0.0\n }\n}"

JSONnodeData: "{\n \"m_GuidSerialized\": \"3cff1441-893f-42dc-aaa9-4ce425d308b1\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -957.7119140625,\n \"y\": -609.7997436523438,\n
\ \"x\": 106.9897689819336,\n \"y\": 974.9195556640625,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 8.0\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphNode

true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -548.7455444335938,\n \"y\": -1089.481201171875,\n
\ \"x\": 611.1548461914063,\n \"y\": 669.4006958007813,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output 1(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output 1(4)\\\",\\n
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_SerializedSubGraph\": \"{\\n \\\"subGraph\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_SerializedSubGraph\": \"{\\n \\\"subGraph\\\":
{\\n \\\"fileID\\\": 11400000,\\n \\\"guid\\\": \\\"10c41d675e06a124a845154dccbcafa8\\\",\\n
\ \\\"type\\\": 2\\n }\\n}\"\n}"
- typeInfo:

\ \"m_Name\": \"V1Node\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -942.9769287109375,\n \"y\": -1118.2293701171875,\n
\ \"x\": 108.0907974243164,\n \"y\": 837.6611938476563,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 0.7599999904632568\n}"
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 0.23999999463558198\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SinTimeNode
assemblyName: Assembly-CSharp

\ \"x\": -967.4246826171875,\n \"y\": -1484.412353515625,\n
\ \"x\": 96.04146575927735,\n \"y\": 573.3530883789063,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

1.0,\\n \\\"z\\\": 1.0,\\n \\\"w\\\": 1.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 1.0,\\n \\\"y\\\": 1.0,\\n \\\"z\\\":
1.0,\\n \\\"w\\\": 1.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"SinTime\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"SinTime\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.AddNode
assemblyName: Assembly-CSharp

\ \"x\": 21.216936111450197,\n \"y\": -1579.81591796875,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\ \"x\": 1197.6739501953125,\n \"y\": 818.5625,\n \"width\":
0.0,\n \"height\": 0.0\n }\n },\n \"m_SerializableSlots\":
[\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Input1\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Input1\\\",\\n \\\"m_SlotType\\\":
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.TextureNode
assemblyName: Assembly-CSharp

\ \"x\": 37.49300003051758,\n \"y\": -1515.2398681640625,\n
\ \"x\": 1197.2586669921875,\n \"y\": 1151.0247802734375,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_SerializedTexture\": \"{\\n \\\"texture\\\":
{\\n \\\"fileID\\\": 2800000,\\n \\\"guid\\\": \\\"6e8d12f68bae2294da814f9d4c81b29a\\\",\\n
\ \\\"type\\\": 3\\n }\\n}\",\n \"m_TextureType\": 0\n}"

\ }\n}"
m_ActiveMasterNodeGUIDSerialized: 64b0bbae-b36d-4a39-a73f-d42252a1f3cc
m_GeneratedShader: {fileID: 48506289944378500}
m_DrawingData:
m_SerializableSelection: []
--- !u!48 &48506289944378500
Shader:
m_ObjectHideFlags: 0

247
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph


m_Script: {fileID: 11500000, guid: 03c166a9713f1e14ca9fb529deeee772, type: 3}
m_Name: cracks
m_EditorClassIdentifier:
m_DrawingData:
m_SerializableSelection:
- be9ff4e1-caa8-4e27-afa3-cb97b096423e
- f1a71249-a296-4de6-a298-98da37ae3e1e
- 0d5979cf-43f6-4006-823e-ee52074f8b25
- 3d53f521-87aa-4d50-9276-8081340f4b7d
- 376ca068-34bd-413c-9d72-35cbbee15e79
- 992b43b5-7e46-4087-9dfa-2497303f2719
- 7845b8d3-2f2e-4743-b9ee-62b372585037
- 9d0b8029-de3f-4d49-8e94-2543eb26e4f1
- f21b82ea-7ed5-428c-923b-5173eff2ba9a
- afe32aee-e0a2-4ade-b355-e4d57b3ce835
m_MaterialSubGraph:
m_SerializableNodes:
- typeInfo:

\ \"m_Name\": \"SubGraphInputs\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -108.82353973388672,\n \"y\": 396.3549499511719,\n
\ \"x\": 902.2586669921875,\n \"y\": 497.4632263183594,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
1,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 1,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphOutputNode
assemblyName: Assembly-CSharp

\ \"x\": 989.1889038085938,\n \"y\": -52.760902404785159,\n
\ \"x\": 2186.311279296875,\n \"y\": 193.9431915283203,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.TextureNode
assemblyName: Assembly-CSharp

\ \"x\": -1178.41455078125,\n \"y\": -25.989229202270509,\n
\ \"x\": 26.795249938964845,\n \"y\": 281.3797302246094,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
2,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_SerializedTexture\": \"{\\n \\\"texture\\\":
{\\n \\\"fileID\\\": 2800000,\\n \\\"guid\\\": \\\"6e8d12f68bae2294da814f9d4c81b29a\\\",\\n
\ \\\"type\\\": 3\\n }\\n}\",\n \"m_TextureType\": 0\n}"

JSONnodeData: "{\n \"m_GuidSerialized\": \"3d53f521-87aa-4d50-9276-8081340f4b7d\",\n
\ \"m_Name\": \"SubtractNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -802.5894165039063,\n \"y\": -351.9988098144531,\n
\ \"x\": 479.4627990722656,\n \"y\": 149.49801635742188,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp

\ \"x\": -1204.02978515625,\n \"y\": -662.9304809570313,\n
\ \"x\": 21.401573181152345,\n \"y\": 141.89109802246095,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 1.0\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.MultiplyNode

true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 267.6522521972656,\n \"y\": -703.5165405273438,\n
\ \"x\": 1396.0201416015625,\n \"y\": 210.5017852783203,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.PowerNode
assemblyName: Assembly-CSharp

\ \"x\": -139.22515869140626,\n \"y\": -993.5975341796875,\n
\ \"x\": 916.3446655273438,\n \"y\": 175.2135772705078,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp

\ \"x\": -509.1436462402344,\n \"y\": -1213.7598876953125,\n
\ \"x\": 449.3622741699219,\n \"y\": 505.08001708984377,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 2.8499999046325685\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.MultiplyNode

true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 624.84130859375,\n \"y\": -1360.296142578125,\n
\ \"x\": 1805.7857666015625,\n \"y\": 208.90353393554688,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.AbsoluteNode
assemblyName: Assembly-CSharp

\ \"x\": 238.63864135742188,\n \"y\": -1208.9111328125,\n
\ \"x\": 1383.1837158203125,\n \"y\": 558.46044921875,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
m_SerializableEdges:
- typeInfo:
fullName: UnityEngine.Graphing.Edge

199
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph


m_Script: {fileID: 11500000, guid: 03c166a9713f1e14ca9fb529deeee772, type: 3}
m_Name: fresnel
m_EditorClassIdentifier:
m_DrawingData:
m_SerializableSelection: []
m_MaterialSubGraph:
m_SerializableNodes:
- typeInfo:

\ \"m_Name\": \"SubGraphInputs\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -383.1089172363281,\n \"y\": 411.830810546875,\n
\ \"x\": 904.2462768554688,\n \"y\": 463.2170104980469,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
1,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 1,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphOutputNode
assemblyName: Assembly-CSharp

\ \"x\": 1037.2552490234375,\n \"y\": 3.5371651649475099,\n
\ \"x\": 2113.656982421875,\n \"y\": 387.58013916015627,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\",\\n \\\"m_ShowValue\\\":
false\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.WorldSpaceViewDirectionNode
assemblyName: Assembly-CSharp

\ \"x\": -1332.3092041015625,\n \"y\": -11.14682674407959,\n
\ \"x\": 22.65700912475586,\n \"y\": 221.44256591796876,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"worldSpaceViewDirection\\\"\\n}\"\n
\ }\n ],\n \"m_OutputPrecision\": 1\n}"
3,\\n \\\"m_ShaderOutputName\\\": \\\"worldSpaceViewDirection\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.WorldSpaceNormalNode
assemblyName: Assembly-CSharp

\ \"x\": -1224.621826171875,\n \"y\": 11.020646095275879,\n
\ \"x\": 19.459081649780275,\n \"y\": 519.4720458984375,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 1.0,\\n \\\"w\\\": 1.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
1.0,\\n \\\"w\\\": 1.0\\n },\\n \\\"m_ConcreteValueType\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Normal\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
3,\\n \\\"m_ShaderOutputName\\\": \\\"Normal\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.DotNode
assemblyName: Assembly-CSharp

\ \"x\": -793.046875,\n \"y\": -368.6631774902344,\n
\ \"x\": 524.0581665039063,\n \"y\": 280.4234619140625,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
2,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 2,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
4,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
1,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp

\ \"x\": -817.794677734375,\n \"y\": -823.296875,\n \"width\":
0.0,\n \"height\": 0.0\n }\n },\n \"m_SerializableSlots\":
[\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Value\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
4,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
\ \"x\": 510.12841796875,\n \"y\": 147.62864685058595,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Value\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Value\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ],\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 1.0299999713897706\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubtractNode

true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -429.47296142578127,\n \"y\": -905.2852172851563,\n
\ \"x\": 901.1547241210938,\n \"y\": 135.9580535888672,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
1,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
1,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.PowerNode
assemblyName: Assembly-CSharp

\ \"x\": 24.107908248901368,\n \"y\": -1199.31298828125,\n
\ \"x\": 1335.8038330078125,\n \"y\": 136.7236785888672,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":

0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_CurrentValue\\\":
{\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.MultiplyNode
assemblyName: Assembly-CSharp

\ \"x\": 656.7339477539063,\n \"y\": -1453.90625,\n \"width\":
0.0,\n \"height\": 0.0\n }\n },\n \"m_SerializableSlots\":
[\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Input1\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
\ \"x\": 1741.2496337890625,\n \"y\": 412.2178649902344,\n
\ \"width\": 0.0,\n \"height\": 0.0\n }\n },\n
\ \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Input1\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n
\ \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Input2\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\"\\n}\"\n },\n {\n
\ \"typeInfo\": {\n \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n \"JSONnodeData\":
\"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
0,\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.MaterialSlot\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{\\n
\ \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 0,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
4,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
m_SerializableEdges:
- typeInfo:
fullName: UnityEngine.Graphing.Edge

正在加载...
取消
保存