浏览代码

Start work on 'unit testing' each node.

/main
Tim Cooper 7 年前
当前提交
d2627032
共有 27 个文件被更改,包括 641 次插入2194 次删除
  1. 10
      ShaderTemplates/TextureSample.ShaderGraph.shader
  2. 11
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Shaders/Checkerboard.shader.meta
  3. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Add.ShaderGraph
  4. 11
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Add.ShaderGraph.meta
  5. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Multiply.ShaderGraph
  6. 11
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Multiply.ShaderGraph.meta
  7. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/TextureSample.ShaderGraph
  8. 13
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/TextureSample.ShaderGraph.meta
  9. 79
      ShaderTemplates/Add.ShaderGraph.png
  10. 68
      ShaderTemplates/Add.ShaderGraph.shader
  11. 33
      ShaderTemplates/Multiply.ShaderGraph.png
  12. 68
      ShaderTemplates/Multiply.ShaderGraph.shader
  13. 339
      ShaderTemplates/TextureSample.ShaderGraph.png
  14. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph.meta
  15. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph.meta
  16. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph.meta
  17. 343
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph
  18. 1001
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph
  19. 433
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph
  20. 92
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.mat
  21. 10
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.mat.meta
  22. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/New Shader Graph 1.ShaderGraph
  23. 13
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/New Shader Graph 1.ShaderGraph.meta
  24. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.ShaderGraph
  25. 11
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.ShaderGraph.meta
  26. 260
      ShaderTemplates/New Shader Graph 1.ShaderGraph.png
  27. 0
      /ShaderTemplates/TextureSample.ShaderGraph.shader

10
ShaderTemplates/TextureSample.ShaderGraph.shader


Shader "Graph/UnityEngine.MaterialGraph.MetallicMasterNode1cbd7aed-56c9-4a01-866e-a6b04a03c1b6"
Shader "Graph/UnityEngine.MaterialGraph.MetallicMasterNode8d0a8307-a3eb-4434-be6c-c952f4588d6c"
[NonModifiableTextureData] Texture2D_Texture2D_D281CEC8_Uniform("Texture2D", 2D) = "white" {}
[NonModifiableTextureData] Texture2D_Texture2D_ED131035_Uniform("Texture2D", 2D) = "white" {}
}

#pragma glsl
#pragma debug
UNITY_DECLARE_TEX2D(Texture2D_Texture2D_D281CEC8_Uniform);
UNITY_DECLARE_TEX2D(Texture2D_Texture2D_ED131035_Uniform);

void surf (Input IN, inout SurfaceOutputStandard o)
{
half4 uv0 = IN.meshUV0;
float4 Sample2DTexture_1221CD9A_rgba = UNITY_SAMPLE_TEX2D(Texture2D_Texture2D_D281CEC8_Uniform,uv0.xy);
o.Albedo = Sample2DTexture_1221CD9A_rgba;
float4 Sample2DTexture_1EF145E2_rgba = UNITY_SAMPLE_TEX2D(Texture2D_Texture2D_ED131035_Uniform,uv0.xy);
o.Emission = Sample2DTexture_1EF145E2_rgba;
}
ENDCG

11
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Shaders/Checkerboard.shader.meta


fileFormatVersion: 2
guid: 5caf62d8bd7c44596ace77ef9eb8ea31
timeCreated: 1502007198
licenseType: Pro
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Add.ShaderGraph
文件差异内容过多而无法显示
查看文件

11
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Add.ShaderGraph.meta


fileFormatVersion: 2
guid: 6b526455b2500458f9e378534990c26c
timeCreated: 1502012283
licenseType: Pro
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Multiply.ShaderGraph
文件差异内容过多而无法显示
查看文件

11
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Multiply.ShaderGraph.meta


fileFormatVersion: 2
guid: 3b1382b7bb78a4162b89a4f706240f08
timeCreated: 1502012510
licenseType: Pro
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/TextureSample.ShaderGraph
文件差异内容过多而无法显示
查看文件

13
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/TextureSample.ShaderGraph.meta


fileFormatVersion: 2
guid: 0bf1c65d8d6ab4c1f8476fb1cf9eb20a
timeCreated: 1502012593
licenseType: Pro
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures:
- Texture2D_Texture2D_ED131035_Uniform: {fileID: 2800000, guid: 330f42016073a97418a4aae5517e32c8,
type: 3}
userData:
assetBundleName:
assetBundleVariant:

79
ShaderTemplates/Add.ShaderGraph.png

之前 之后
宽度: 256  |  高度: 256  |  大小: 18 KiB

68
ShaderTemplates/Add.ShaderGraph.shader


Shader "Graph/UnityEngine.MaterialGraph.MetallicMasterNode619b20e6-2273-4e23-807b-84c0dab1f9b9"
{
Properties
{
}
SubShader
{
Tags
{
"RenderType"="Opaque"
"Queue"="Geometry"
}
Blend One Zero
Cull Back
ZTest LEqual
ZWrite On
LOD 200
CGPROGRAM
#pragma target 3.0
#pragma surface surf Standard vertex:vert
#pragma glsl
#pragma debug
void Unity_Add_float(float4 first, float4 second, out float4 result)
{
result = first + second;
}
struct Input
{
float4 color : COLOR;
};
void vert (inout appdata_full v, out Input o)
{
UNITY_INITIALIZE_OUTPUT(Input,o);
}
void surf (Input IN, inout SurfaceOutputStandard o)
{
float4 Color_Color_F01F05F2_Uniform = float4 (0.1172414, 1, 0, 0);
float4 Color_Color_3FAAF5EA_Uniform = float4 (0.01912789, -0.005136251, 0.6985294, 0);
float4 Add_1ABB2997_result;
Unity_Add_float(Color_Color_F01F05F2_Uniform, Color_Color_3FAAF5EA_Uniform, Add_1ABB2997_result);
o.Emission = Add_1ABB2997_result;
}
ENDCG
}
FallBack "Diffuse"
CustomEditor "LegacyIlluminShaderGUI"
}

33
ShaderTemplates/Multiply.ShaderGraph.png

之前 之后
宽度: 256  |  高度: 256  |  大小: 11 KiB

68
ShaderTemplates/Multiply.ShaderGraph.shader


Shader "Graph/UnityEngine.MaterialGraph.MetallicMasterNode54a42f5e-c675-49a8-84b7-53d88fc52b4d"
{
Properties
{
}
SubShader
{
Tags
{
"RenderType"="Opaque"
"Queue"="Geometry"
}
Blend One Zero
Cull Back
ZTest LEqual
ZWrite On
LOD 200
CGPROGRAM
#pragma target 3.0
#pragma surface surf Standard vertex:vert
#pragma glsl
#pragma debug
void Unity_Multiply_float(float4 first, float4 second, out float4 result)
{
result = first * second;
}
struct Input
{
float4 color : COLOR;
};
void vert (inout appdata_full v, out Input o)
{
UNITY_INITIALIZE_OUTPUT(Input,o);
}
void surf (Input IN, inout SurfaceOutputStandard o)
{
float4 Color_Color_E181B4C8_Uniform = float4 (1.022059, 1.022059, 1.022059, 0);
float4 Color_Color_8AFF9DED_Uniform = float4 (1.007353, -0.01481403, -0.01481403, 0);
float4 Multiply_91E1EE9F_result;
Unity_Multiply_float(Color_Color_E181B4C8_Uniform, Color_Color_8AFF9DED_Uniform, Multiply_91E1EE9F_result);
o.Emission = Multiply_91E1EE9F_result;
}
ENDCG
}
FallBack "Diffuse"
CustomEditor "LegacyIlluminShaderGUI"
}

339
ShaderTemplates/TextureSample.ShaderGraph.png

之前 之后
宽度: 256  |  高度: 256  |  大小: 80 KiB

8
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph.meta


fileFormatVersion: 2
guid: 10c41d675e06a124a845154dccbcafa8
timeCreated: 1470751967
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

8
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph.meta


fileFormatVersion: 2
guid: 63179f4461979734ba87324ec6b1268d
timeCreated: 1469628125
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

8
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph.meta


fileFormatVersion: 2
guid: 97e2a6f6d9f53164aacadb709eef5237
timeCreated: 1480680692
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

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


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 03c166a9713f1e14ca9fb529deeee772, type: 3}
m_Name: fresnel
m_EditorClassIdentifier:
m_DrawingData:
m_SerializableSelection: []
m_MaterialSubGraph:
m_SerializableNodes:
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphInputNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"9c67defe-e02d-4c3f-aeff-501458f2a51e\",\n
\ \"m_Name\": \"SubGraphInputs\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 398.7243347167969,\n \"y\": 144.4300994873047,\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\\\": -1,\\n \\\"m_DisplayName\\\": \\\"Input 1\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\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\\\": 3.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\":
0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
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\\\": -2,\\n \\\"m_DisplayName\\\": \\\"Input 2\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 2,\\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\\\": 1.0,\\n \\\"y\\\": 1.0,\\n \\\"z\\\":
1.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_ConcreteValueType\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphOutputNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"c125654a-0be6-44c3-b177-54de0b1d84a7\",\n
\ \"m_Name\": \"SubGraphOutputs\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 1525.2266845703125,\n \"y\": 11.561310768127442,\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\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output 1\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 2,\\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\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Output1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.WorldSpaceViewDirectionNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"e8000378-07ad-437c-b2a1-4e807bf69c3c\",\n
\ \"m_Name\": \"View Direction\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -594.8834838867188,\n \"y\": -74.00685119628906,\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\\\": \\\"worldSpaceViewDirection\\\",\\n
\ \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\":
2,\\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\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"worldSpaceViewDirection\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.WorldSpaceNormalNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"d31d4a7e-3a4a-4a1d-88c6-2987a58ae1d5\",\n
\ \"m_Name\": \"Normal\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -559.7529907226563,\n \"y\": 206.4449005126953,\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\\\": \\\"Normal\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 2,\\n
\ \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\":
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 \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.DotNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"0c18bff0-75d7-49b2-9f0a-3b260a7f8080\",\n
\ \"m_Name\": \"DotNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -54.90789031982422,\n \"y\": -129.66358947753907,\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\\\": 2,\\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\\\":
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\\\":
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\\\": \\\"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\\\":
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\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"994fb20b-d1c3-4959-b17f-f5cf7b2b784f\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -297.3780822753906,\n \"y\": -284.4797668457031,\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\\\":
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 \\\"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.SubtractNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"b136494b-9339-420f-b1e3-6d0414421802\",\n
\ \"m_Name\": \"SubtractNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 317.5863952636719,\n \"y\": -291.53692626953127,\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\\\":
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\\\":
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\\\": \\\"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\\\":
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\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.PowerNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"76df9552-ca24-4463-a5d3-776abb380d61\",\n
\ \"m_Name\": \"PowerNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 768.116943359375,\n \"y\": -308.23480224609377,\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\\\":
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\\\":
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\\\": \\\"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\\\":
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\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.MultiplyNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"b1020cb6-bd15-4c6c-9656-298973c15223\",\n
\ \"m_Name\": \"MultiplyNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 1160.56396484375,\n \"y\": -229.78550720214845,\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\\\":
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\\\": 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\\\":
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\\\": 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\\\":
3,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
m_SerializableEdges:
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"e8000378-07ad-437c-b2a1-4e807bf69c3c\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"0c18bff0-75d7-49b2-9f0a-3b260a7f8080\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"d31d4a7e-3a4a-4a1d-88c6-2987a58ae1d5\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"0c18bff0-75d7-49b2-9f0a-3b260a7f8080\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"0c18bff0-75d7-49b2-9f0a-3b260a7f8080\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"b136494b-9339-420f-b1e3-6d0414421802\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"994fb20b-d1c3-4959-b17f-f5cf7b2b784f\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"b136494b-9339-420f-b1e3-6d0414421802\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"b136494b-9339-420f-b1e3-6d0414421802\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"76df9552-ca24-4463-a5d3-776abb380d61\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"76df9552-ca24-4463-a5d3-776abb380d61\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"b1020cb6-bd15-4c6c-9656-298973c15223\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": -1,\n \"m_NodeGUIDSerialized\":
\"9c67defe-e02d-4c3f-aeff-501458f2a51e\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"76df9552-ca24-4463-a5d3-776abb380d61\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": -2,\n \"m_NodeGUIDSerialized\":
\"9c67defe-e02d-4c3f-aeff-501458f2a51e\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"b1020cb6-bd15-4c6c-9656-298973c15223\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"b1020cb6-bd15-4c6c-9656-298973c15223\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"c125654a-0be6-44c3-b177-54de0b1d84a7\"\n
\ }\n}"

1001
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph
文件差异内容过多而无法显示
查看文件

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


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 03c166a9713f1e14ca9fb529deeee772, type: 3}
m_Name: cracks
m_EditorClassIdentifier:
m_DrawingData:
m_SerializableSelection: []
m_MaterialSubGraph:
m_SerializableNodes:
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphInputNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"be9ff4e1-caa8-4e27-afa3-cb97b096423e\",\n
\ \"m_Name\": \"SubGraphInputs\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -455.331298828125,\n \"y\": 179.0686798095703,\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\\\": -1,\\n \\\"m_DisplayName\\\": \\\"Input 1\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 1,\\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\":
\"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\\\":
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\\\": \\\"Input2\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphOutputNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"f1a71249-a296-4de6-a298-98da37ae3e1e\",\n
\ \"m_Name\": \"SubGraphOutputs\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 1086.4095458984375,\n \"y\": 23.8751220703125,\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\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Output 1\\\",\\n \\\"m_SlotType\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 1,\\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\\\": \\\"Output1\\\",\\n \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.TextureNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"0d5979cf-43f6-4006-823e-ee52074f8b25\",\n
\ \"m_Name\": \"Texture\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1281.3865966796875,\n \"y\": -88.96145629882813,\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\\\": 1,\\n \\\"m_DisplayName\\\": \\\"RGBA\\\",\\n \\\"m_SlotType\\\":
1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 1,\\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\\\": \\\"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_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\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\\\":
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_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\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\\\":
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_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\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\\\":
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_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 4,\\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\\\":
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\\\":
0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_ValueType\\\": 3,\\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\\\":
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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubtractNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"3d53f521-87aa-4d50-9276-8081340f4b7d\",\n
\ \"m_Name\": \"SubtractNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -896.4572143554688,\n \"y\": -273.7273864746094,\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\":
\"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\\\":
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\\\": \\\"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\\\":
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 \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"376ca068-34bd-413c-9d72-35cbbee15e79\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1284.808349609375,\n \"y\": -265.17340087890627,\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\\\":
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 \\\"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
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"992b43b5-7e46-4087-9dfa-2497303f2719\",\n
\ \"m_Name\": \"MultiplyNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 183.02017211914063,\n \"y\": -190.50302124023438,\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\":
\"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\\\":
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\\\": \\\"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\\\":
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 \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.PowerNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"7845b8d3-2f2e-4743-b9ee-62b372585037\",\n
\ \"m_Name\": \"PowerNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -430.0089111328125,\n \"y\": -179.17039489746095,\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\":
\"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\\\":
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\\\": \\\"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\\\":
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 \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"9d0b8029-de3f-4d49-8e94-2543eb26e4f1\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -888.3801879882813,\n \"y\": 90.35917663574219,\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\\\":
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 \\\"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
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"f21b82ea-7ed5-428c-923b-5173eff2ba9a\",\n
\ \"m_Name\": \"MultiplyNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 665.2788696289063,\n \"y\": 25.99496841430664,\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\":
\"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\\\":
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\\\": \\\"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\\\":
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 \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.AbsoluteNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"afe32aee-e0a2-4ade-b355-e4d57b3ce835\",\n
\ \"m_Name\": \"AbsoluteNode\",\n \"m_DrawState\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 206.8800811767578,\n \"y\": 156.2382049560547,\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\\\": \\\"Input\\\",\\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\\\": \\\"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\\\":
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 \\\"m_ShowValue\\\":
true\\n}\"\n }\n ]\n}"
m_SerializableEdges:
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\":
\"0d5979cf-43f6-4006-823e-ee52074f8b25\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"3d53f521-87aa-4d50-9276-8081340f4b7d\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"376ca068-34bd-413c-9d72-35cbbee15e79\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"3d53f521-87aa-4d50-9276-8081340f4b7d\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"3d53f521-87aa-4d50-9276-8081340f4b7d\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"7845b8d3-2f2e-4743-b9ee-62b372585037\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"7845b8d3-2f2e-4743-b9ee-62b372585037\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"992b43b5-7e46-4087-9dfa-2497303f2719\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"992b43b5-7e46-4087-9dfa-2497303f2719\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"f21b82ea-7ed5-428c-923b-5173eff2ba9a\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"9d0b8029-de3f-4d49-8e94-2543eb26e4f1\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"7845b8d3-2f2e-4743-b9ee-62b372585037\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\":
\"afe32aee-e0a2-4ade-b355-e4d57b3ce835\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"f21b82ea-7ed5-428c-923b-5173eff2ba9a\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": -1,\n \"m_NodeGUIDSerialized\":
\"be9ff4e1-caa8-4e27-afa3-cb97b096423e\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"992b43b5-7e46-4087-9dfa-2497303f2719\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": -2,\n \"m_NodeGUIDSerialized\":
\"be9ff4e1-caa8-4e27-afa3-cb97b096423e\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"afe32aee-e0a2-4ade-b355-e4d57b3ce835\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"f21b82ea-7ed5-428c-923b-5173eff2ba9a\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"f1a71249-a296-4de6-a298-98da37ae3e1e\"\n
\ }\n}"

92
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Test Shader Graph
m_Shader: {fileID: 4800000, guid: 2d2b482951ae9934eb58e29aad0367cc, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 0
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture_Texture_179334A_Uniform:
m_Texture: {fileID: 2800000, guid: 225a31f233f5b82488f996901413908d, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture_Texture_50567049_Uniform:
m_Texture: {fileID: 2800000, guid: 5b16ea7ee68dfd54f9e88408906bd687, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture_Texture_50D7B187_Uniform:
m_Texture: {fileID: 2800000, guid: 225a31f233f5b82488f996901413908d, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture_Texture_F5D09BA1_Uniform:
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

10
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.mat.meta


fileFormatVersion: 2
guid: dbf7bd14b02fbbf40b4ea779cc10622e
timeCreated: 1500024557
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/New Shader Graph 1.ShaderGraph
文件差异内容过多而无法显示
查看文件

13
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/New Shader Graph 1.ShaderGraph.meta


fileFormatVersion: 2
guid: 87ebd1179c598234faa4c7d160de0e69
timeCreated: 1501164506
licenseType: Pro
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures:
- Texture2D_Texture2D_D281CEC8_Uniform: {fileID: 2800000, guid: 225a31f233f5b82488f996901413908d,
type: 3}
userData:
assetBundleName:
assetBundleVariant:

1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.ShaderGraph
文件差异内容过多而无法显示
查看文件

11
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/Test Shader Graph.ShaderGraph.meta


fileFormatVersion: 2
guid: 2d2b482951ae9934eb58e29aad0367cc
timeCreated: 1501164208
licenseType: Pro
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

260
ShaderTemplates/New Shader Graph 1.ShaderGraph.png

之前 之后

/ShaderTemplates/New Shader Graph 1.ShaderGraph.shader → /ShaderTemplates/TextureSample.ShaderGraph.shader

正在加载...
取消
保存