浏览代码

[Material Graph]Add image comparison tests. Just add graph to UnityShaderEditor/Tests/IntegrationTests/Graphs

/main
Tim Cooper 8 年前
当前提交
6cf280f3
共有 24 个文件被更改,包括 2833 次插入1180 次删除
  1. 23
      MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/GraphEditWindow.cs
  2. 4
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/NodeDrawers/AbstractMaterialNodeUI.cs
  3. 7
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Editors/MaterialGraphEditor.cs
  4. 137
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/ShaderGenerationTest.cs
  5. 145
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph
  6. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph.meta
  7. 99
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph.template.png
  8. 68
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph.template.png.meta
  9. 523
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph
  10. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph.meta
  11. 1001
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph.template.png
  12. 68
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph.template.png.meta
  13. 413
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph
  14. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/cracks.ShaderSubGraph.meta
  15. 331
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph
  16. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/fresnel.ShaderSubGraph.meta
  17. 12
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/PropertyNodeTests.cs.meta
  18. 12
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/UnitTests/PropertyGeneratorTests.cs.meta
  19. 1001
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/ComplexGraph.ShaderGraph
  20. 116
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/ComplexGraph.ShaderGraph.dump
  21. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/ComplexGraph.ShaderGraph.dump.meta
  22. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/ComplexGraph.ShaderGraph.meta
  23. 5
      MaterialGraphProject/Assets/UnityShaderEditor/Graphs.meta

23
MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/GraphEditWindow.cs


public abstract class AbstractGraphEditWindow<T> : EditorWindow, ISerializationCallbackReceiver where T : class, IGraphAsset
{
public RenderTexture rt;
[NonSerialized]
private T m_LastSelection;

if (GUI.Button(new Rect(position.width - 250, 140, 250, 50), "Export - quick"))
Export(true);
EditorGUI.ObjectField(new Rect(position.width - 250, 210, 250, 50), rt, typeof(RenderTexture), false);
}
private string m_LastPath;

m_LastPath = path; // For quick exporting
if (!string.IsNullOrEmpty(path))
ExportShader(path);
ExportShader(m_DataSource.graphAsset as MaterialGraphAsset, path);
private void ExportShader(string path)
public static Shader ExportShader(MaterialGraphAsset graphAsset, string path)
List<PropertyGenerator.TextureInfo> configuredTextures;
if (graphAsset == null)
return null;
var materialGraph = m_DataSource.graphAsset.graph as PixelGraph;
var materialGraph = graphAsset.graph as PixelGraph;
if (materialGraph == null)
return null;
List<PropertyGenerator.TextureInfo> configuredTextures;
var shaderString = ShaderGenerator.GenerateSurfaceShader(materialGraph.pixelMasterNode, new MaterialOptions(), materialGraph.name, false, out configuredTextures);
File.WriteAllText(path, shaderString);
AssetDatabase.Refresh(); // Investigate if this is optimal

return;
return null;
return;
return null;
var textureNames = new List<string>();
var textures = new List<Texture>();

shaderImporter.SetNonModifiableTextures(textureNames.ToArray(), textures.ToArray());
shaderImporter.SaveAndReimport();
return shaderImporter.GetShader();
}
/*public void RenderOptions(MaterialGraph graph)

4
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/NodeDrawers/AbstractMaterialNodeUI.cs


if (m_PreviewShader == null)
{
m_PreviewShader = ShaderUtil.CreateShaderAsset(resultShader);
m_PreviewShader.hideFlags = HideFlags.HideInHierarchy;
m_PreviewShader.hideFlags = HideFlags.HideAndDontSave;
}
else
{

return !ShaderHasError(m_PreviewShader);
}
protected static bool ShaderHasError(Shader shader)
public static bool ShaderHasError(Shader shader)
{
var hasErrorsCall = typeof(ShaderUtil).GetMethod("GetShaderErrorCount", BindingFlags.Static | BindingFlags.NonPublic);
var result = hasErrorsCall.Invoke(null, new object[] {shader});

7
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Editors/MaterialGraphEditor.cs


public Texture DoRenderPreview(Material mat, PreviewMode mode, Rect size)
{
return DoRenderPreview(mat, mode, size, Time.realtimeSinceStartup);
}
public Texture DoRenderPreview(Material mat, PreviewMode mode, Rect size, float time)
{
if (mat == null || mat.shader == null)
return Texture2D.blackTexture;

{
m_PreviewUtility.m_Camera.transform.position = -Vector3.forward * 5;
m_PreviewUtility.m_Camera.transform.rotation = Quaternion.identity;
EditorUtility.SetCameraAnimateMaterialsTime(m_PreviewUtility.m_Camera, Time.realtimeSinceStartup);
EditorUtility.SetCameraAnimateMaterialsTime(m_PreviewUtility.m_Camera, time);
var amb = new Color(.2f, .2f, .2f, 0);
m_PreviewUtility.m_Light[0].intensity = 1.0f;
m_PreviewUtility.m_Light[0].transform.rotation = Quaternion.Euler(50f, 50f, 0);

137
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/ShaderGenerationTest.cs


using System.Collections.Generic;
using System.Collections;
using UnityEditor.Graphing.Drawing;
using Object = UnityEngine.Object;
[Test]
public void RunGenerationTests()
private static readonly string[] s_Path =
{
"UnityShaderEditor",
"Editor",
"Testing",
"IntegrationTests",
"Graphs"
};
public struct TestInfo
{
public string name;
public FileInfo info;
public override string ToString()
{
return name;
}
}
public static class CollectGraphs
string[] path =
public static IEnumerable graphs
"UnityShaderEditor",
"Editor",
"Testing",
"ShaderGeneration",
"Graphs"
};
get
{
var absoluteGraphsPath = s_Path.Aggregate(Application.dataPath, Path.Combine);
var filePaths = Directory.GetFiles(absoluteGraphsPath).Select(x => new FileInfo(x)).Where(x => x.Extension == ".ShaderGraph");
foreach (var p in filePaths)
{
yield return new TestInfo
{
name = p.Name,
info = p
};
}
}
}
}
private Shader m_Shader;
private Material m_PreviewMaterial;
[TearDown]
public void CleanUp()
{
if (m_Shader != null)
AssetDatabase.DeleteAsset(AssetDatabase.GetAssetPath(m_Shader));
if (m_PreviewMaterial != null)
Object.DestroyImmediate(m_PreviewMaterial);
}
[Test, TestCaseSource(typeof(CollectGraphs), "graphs")]
public void ShaderGeneratorOutput(TestInfo testInfo)
{
var file = testInfo.info;
var prjRelativeGraphsPath = s_Path.Aggregate("Assets", Path.Combine);
var filePath = Path.Combine(prjRelativeGraphsPath, file.Name);
var graph = AssetDatabase.LoadAssetAtPath<MaterialGraphAsset>(filePath);
Assert.IsNotNull(graph, "Graph asset not found");
var absoluteGraphsPath = path.Aggregate(Application.dataPath, Path.Combine);
var prjRelativeGraphsPath = path.Aggregate("Assets", Path.Combine);
// Generate the shader
var shaderOutputLocation = string.Format("{0}.{1}", filePath, "shader");
m_Shader = GraphEditWindow.ExportShader(graph, shaderOutputLocation);
var filePaths = Directory.GetFiles(absoluteGraphsPath).Select(x => new FileInfo(x));
Assert.IsNotNull(m_Shader, "Shader Generation Failed");
Assert.IsFalse(AbstractMaterialNodeUI.ShaderHasError(m_Shader), "Shader has error");
foreach (var file in filePaths.Where(x => x.Extension == ".ShaderGraph"))
m_PreviewMaterial = new Material(m_Shader)
var filePath = Path.Combine(prjRelativeGraphsPath, file.Name);
var graph = AssetDatabase.LoadAssetAtPath<MaterialGraphAsset>(filePath);
hideFlags = HideFlags.HideAndDontSave
};
if (graph == null)
continue;
Assert.IsNotNull(m_PreviewMaterial, "preview material could not be created");
// Generate the shader
List<PropertyGenerator.TextureInfo> buff;
//TODO: FIX
string shader = null;//ShaderGenerator.GenerateSurfaceShader(graph.graph, graph.name, false, out buff);
const int res = 256;
var generator = new MaterialGraphPreviewGenerator();
var rendered = generator.DoRenderPreview(m_PreviewMaterial, PreviewMode.Preview3D, new Rect(0, 0, res, res), 10) as RenderTexture;
Assert.IsNotNull(rendered, "Render failed");
// find the 'reference' shader
var dumpFileLocation = string.Format("{0}.{1}", file, "dump");
RenderTexture.active = rendered;
Texture2D captured = new Texture2D(rendered.width, rendered.height, TextureFormat.ARGB32, false);
captured.ReadPixels(new Rect(0, 0, rendered.width, rendered.height), 0, 0);
RenderTexture.active = null; //can help avoid errors
if (!File.Exists(dumpFileLocation))
{
// no reference exists, create it
File.WriteAllText(dumpFileLocation, shader);
Assert.Fail("FAILURE: Dump file not found for {0}, creating it.", file);
}
var generated = captured.EncodeToPNG();
// find the reference image
var dumpFileLocation = string.Format("{0}.template.{1}", file, "png");
string dumpedShader = File.ReadAllText(dumpFileLocation);
if (string.CompareOrdinal(dumpedShader, shader) != 0)
Assert.Fail("FAILURE: Shader from graph {0}, did not match .dump file.", file);
if (!File.Exists(dumpFileLocation))
{
// no reference exists, create it
File.WriteAllBytes(dumpFileLocation, generated);
Assert.Fail("Template file not found for {0}, creating it.", file);
}
var saved = File.ReadAllBytes(dumpFileLocation);
var areEqual = Enumerable.SequenceEqual(saved, generated);
if (!areEqual)
{
var misMatchLocation = string.Format("{0}.{1}", file, "png");
File.WriteAllBytes(misMatchLocation, generated);
Assert.IsTrue(areEqual, "Shader from graph {0}, did not match .template file.", file);
}
}
}

145
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph


%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: 562bd27a5e73fc64d80a1d9d936ffbd5, type: 3}
m_Name: SimpleGraph
m_EditorClassIdentifier:
m_MaterialGraph:
m_MaterialOptions:
m_SrcBlend: 0
m_DstBlend: 1
m_CullMode: 0
m_ZTest: 2
m_ZWrite: 0
m_RenderQueue: 1
m_RenderType: 0
m_ShadowPass: 0
m_FullForwardShadows: 0
m_NoAmbient: 0
m_NoVertexLights: 0
m_NoLightmaps: 0
m_NoDirLightmap: 0
m_NoForwardAdd: 0
m_ApproxView: 0
m_HalfAsView: 0
m_Expanded: 0
m_PixelGraph:
m_SerializableNodes:
- typeInfo:
fullName: UnityEngine.MaterialGraph.PixelShaderNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"483fdcfa-84fc-40b9-b442-b79e2ddb9cb8\",\n
\ \"m_Name\": \"PixelMaster\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 0.0,\n \"y\": 0.0,\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\\\": \\\"Albedo\\\",\\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\\\": \\\"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\\\": 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\\\":
\\\"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\\\": 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\\\": \\\"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\\\": 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\\\": \\\"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\\\": 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\\\": \\\"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\\\": 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\\\": \\\"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\\\": 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\\\":
\\\"Alpha\\\"\\n}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n
\ \"m_SerializedLightFunction\": {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.PBRMetalicLightFunction\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{}\"\n }\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.ColorNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"512b61e8-132b-4df6-982a-4c01181690dc\",\n
\ \"m_Name\": \"ColorNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -594.0,\n \"y\": 162.0,\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\\\": \\\"Color\\\",\\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\\\": \\\"Color\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Color\": {\n \"r\": 1.0,\n
\ \"g\": 0.0,\n \"b\": 0.0,\n \"a\": 0.0\n }\n}"
m_SerializableEdges:
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"512b61e8-132b-4df6-982a-4c01181690dc\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 3,\n \"m_NodeGUIDSerialized\": \"483fdcfa-84fc-40b9-b442-b79e2ddb9cb8\"\n
\ }\n}"
m_Name:

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


fileFormatVersion: 2
guid: 22801739860ca3847b22cb9e0a3611e8
timeCreated: 1470816187
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

99
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph.template.png

之前 之后
宽度: 512  |  高度: 512  |  大小: 35 KiB

68
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/SimpleGraph.ShaderGraph.template.png.meta


fileFormatVersion: 2
guid: a04dde8f6eaa21f499c501bd9eef841e
timeCreated: 1470832149
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

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


%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: 562bd27a5e73fc64d80a1d9d936ffbd5, type: 3}
m_Name: New Shader Graph 1
m_EditorClassIdentifier:
m_MaterialGraph:
m_MaterialOptions:
m_SrcBlend: 0
m_DstBlend: 0
m_CullMode: 0
m_ZTest: 0
m_ZWrite: 0
m_RenderQueue: 0
m_RenderType: 0
m_ShadowPass: 0
m_FullForwardShadows: 0
m_NoAmbient: 0
m_NoVertexLights: 0
m_NoLightmaps: 0
m_NoDirLightmap: 0
m_NoForwardAdd: 0
m_ApproxView: 0
m_HalfAsView: 0
m_Expanded: 0
m_PixelGraph:
m_SerializableNodes:
- typeInfo:
fullName: UnityEngine.MaterialGraph.PixelShaderNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"712c31a5-7797-4061-8443-6d6f332a259d\",\n
\ \"m_Name\": \"PixelMaster\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 407.2392272949219,\n \"y\": 8.395115852355957,\n
\ \"width\": -407.2392272949219,\n \"height\": -8.395115852355957\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\\\":
\\\"Albedo\\\",\\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\\\":
\\\"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\\\": 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\\\":
\\\"Normal\\\"\\n}\"\n },\n {\n \"typeInfo\": {\n
\ \"fullName\": \"UnityEngine.MaterialGraph.MaterialSlot\",\n
\ \"assemblyName\": \"Assembly-CSharp\"\n },\n
\ \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\":
\\\"Specular\\\",\\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\\\": \\\"Specular\\\"\\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\\\": 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\\\": \\\"Emission\\\"\\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\\\": 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\\\": \\\"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\\\": 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\\\": \\\"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\\\": 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\\\":
\\\"Alpha\\\"\\n}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n
\ \"m_SerializedLightFunction\": {\n \"typeInfo\": {\n \"fullName\":
\"UnityEngine.MaterialGraph.PBRSpecularLightFunction\",\n \"assemblyName\":
\"Assembly-CSharp\"\n },\n \"JSONnodeData\": \"{}\"\n }\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.TextureNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"f4d20b5e-052c-48dd-8232-e0a67d391307\",\n
\ \"m_Name\": \"Texture\",\n \"m_DrawData\": {\n \"m_Expanded\":
false,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -30.83177947998047,\n \"y\": -514.542236328125,\n
\ \"width\": -1367.957763671875,\n \"height\": 568.8974609375\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}\"\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}\"\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}\"\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}\"\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}\"\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}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n \"m_PropertyName\":
\"\",\n \"m_Description\": \"\",\n \"m_Exposed\": 1,\n \"m_TextureGuid\":
\"28bdf1ba8c076ef4e910b59cc1baf342\",\n \"m_TextureType\": 0\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"d70e6c89-42dd-4939-89a0-b9947138a7b0\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -656.6369018554688,\n \"y\": 598.6742553710938,\n
\ \"width\": -506.03485107421877,\n \"height\": 533.2706909179688\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}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n
\ \"m_PropertyName\": \"\",\n \"m_Description\": \"\",\n \"m_Exposed\":
1,\n \"m_Value\": 4.809999942779541\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.ColorNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"a570b33d-08d1-4f58-b058-bf8f077c1d73\",\n
\ \"m_Name\": \"ColorNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -661.0905151367188,\n \"y\": 762.0277099609375,\n
\ \"width\": -792.4288940429688,\n \"height\": 460.265625\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\\\":
\\\"Color\\\",\\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\\\":
\\\"Color\\\"\\n}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n
\ \"m_PropertyName\": \"\",\n \"m_Description\": \"\",\n \"m_Exposed\":
0,\n \"m_Color\": {\n \"r\": 0.41911762952804568,\n \"g\":
0.5913792848587036,\n \"b\": 1.0,\n \"a\": 0.0\n }\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"c4f88992-c8cb-473e-806b-ce184af4a9ef\",\n
\ \"m_Name\": \"SubGraph\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -325.1766052246094,\n \"y\": 654.1917724609375,\n
\ \"width\": 325.1766052246094,\n \"height\": -654.1917724609375\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(4)\\\",\\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\\\": \\\"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 \\\"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\\\": \\\"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 \\\"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\\\": \\\"Output1\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_SubGraphAssetGuid\": \"63179f4461979734ba87324ec6b1268d\"\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.TextureNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"4b76e056-c401-4e70-a65c-9fe48e0fd0b0\",\n
\ \"m_Name\": \"Texture\",\n \"m_DrawData\": {\n \"m_Expanded\":
false,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -37.8489875793457,\n \"y\": -382.5356750488281,\n
\ \"width\": -1056.1510009765625,\n \"height\": 553.535888671875\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}\"\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}\"\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}\"\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}\"\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}\"\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}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n \"m_PropertyName\":
\"\",\n \"m_Description\": \"\",\n \"m_Exposed\": 1,\n \"m_TextureGuid\":
\"5a5e07ee958edbd468227e1d9ac4726a\",\n \"m_TextureType\": 3\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.ColorNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"b5cc0a96-2df3-45c4-8e07-6b7efab3d45c\",\n
\ \"m_Name\": \"ColorNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1054.904052734375,\n \"y\": 29.015121459960939,\n
\ \"width\": 38.904052734375,\n \"height\": 406.98486328125\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\\\":
\\\"Color\\\",\\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\\\":
\\\"Color\\\"\\n}\"\n }\n ],\n \"m_OutputPrecision\": 1,\n
\ \"m_PropertyName\": \"\",\n \"m_Description\": \"\",\n \"m_Exposed\":
1,\n \"m_Color\": {\n \"r\": 0.8206896781921387,\n \"g\":
1.0,\n \"b\": 0.0,\n \"a\": 1.0\n }\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.AddNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"437833c2-a078-48ef-9f9e-12139369ebae\",\n
\ \"m_Name\": \"AddNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -40.63025665283203,\n \"y\": 108.85945892333985,\n
\ \"width\": 174.3729248046875,\n \"height\": 61.823097229003909\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}\"\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}\"\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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SinTimeNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"4d2d462d-0839-48b1-8012-b611ee64226b\",\n
\ \"m_Name\": \"Sine Time\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1052.7987060546875,\n \"y\": 213.11053466796876,\n
\ \"width\": 342.041015625,\n \"height\": 50.8287353515625\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\\\":
\\\"SinTime\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\":
2147483647,\\n \\\"m_ValueType\\\": 1,\\n \\\"m_DefaultValue\\\":
{\\n \\\"x\\\": 1.0,\\n \\\"y\\\": 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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"5ca423d1-8734-42c9-85c1-c015b29129ce\",\n
\ \"m_Name\": \"SubGraph\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -630.017578125,\n \"y\": 84.36756134033203,\n
\ \"width\": 630.017578125,\n \"height\": -84.36756134033203\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(4)\\\",\\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\\\": \\\"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 \\\"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\\\": \\\"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 \\\"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\\\": \\\"Output1\\\"\\n}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_SubGraphAssetGuid\": \"10c41d675e06a124a845154dccbcafa8\"\n}"
m_SerializableEdges:
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"d70e6c89-42dd-4939-89a0-b9947138a7b0\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": -1,\n \"m_NodeGUIDSerialized\": \"c4f88992-c8cb-473e-806b-ce184af4a9ef\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"a570b33d-08d1-4f58-b058-bf8f077c1d73\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": -2,\n \"m_NodeGUIDSerialized\": \"c4f88992-c8cb-473e-806b-ce184af4a9ef\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\":
\"f4d20b5e-052c-48dd-8232-e0a67d391307\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"712c31a5-7797-4061-8443-6d6f332a259d\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\":
\"4b76e056-c401-4e70-a65c-9fe48e0fd0b0\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"712c31a5-7797-4061-8443-6d6f332a259d\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\":
\"c4f88992-c8cb-473e-806b-ce184af4a9ef\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"437833c2-a078-48ef-9f9e-12139369ebae\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\":
\"437833c2-a078-48ef-9f9e-12139369ebae\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 3,\n \"m_NodeGUIDSerialized\": \"712c31a5-7797-4061-8443-6d6f332a259d\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"b5cc0a96-2df3-45c4-8e07-6b7efab3d45c\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": -1,\n \"m_NodeGUIDSerialized\": \"5ca423d1-8734-42c9-85c1-c015b29129ce\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\":
\"4d2d462d-0839-48b1-8012-b611ee64226b\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": -2,\n \"m_NodeGUIDSerialized\": \"5ca423d1-8734-42c9-85c1-c015b29129ce\"\n
\ }\n}"
- typeInfo:
fullName: UnityEngine.Graphing.Edge
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\":
\"5ca423d1-8734-42c9-85c1-c015b29129ce\"\n },\n \"m_InputSlot\": {\n
\ \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"437833c2-a078-48ef-9f9e-12139369ebae\"\n
\ }\n}"
m_Name:

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


fileFormatVersion: 2
guid: 2c3654e7d0c3aee429e89c0e28926b80
timeCreated: 1469619846
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

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

68
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/WithSubGraph.ShaderGraph.template.png.meta


fileFormatVersion: 2
guid: 73dd9ef5bab93914ab5c5ca8e637760c
timeCreated: 1470832382
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

413
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_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_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 0.0,\n \"y\": 0.0,\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}\"\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphOutputNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"f1a71249-a296-4de6-a298-98da37ae3e1e\",\n
\ \"m_Name\": \"SubGraphOutputs\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": 0.0,\n \"y\": 0.0,\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.TextureNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"0d5979cf-43f6-4006-823e-ee52074f8b25\",\n
\ \"m_Name\": \"Texture\",\n \"m_DrawData\": {\n \"m_Expanded\":
false,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1623.2841796875,\n \"y\": -282.26806640625,\n
\ \"width\": 795.2841796875,\n \"height\": 443.2681884765625\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}\"\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}\"\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}\"\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}\"\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}\"\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_TextureGuid\": \"6e8d12f68bae2294da814f9d4c81b29a\",\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_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1337.2841796875,\n \"y\": -295.26806640625,\n
\ \"width\": 735.2841796875,\n \"height\": 531.2681884765625\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}\"\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}\"\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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"376ca068-34bd-413c-9d72-35cbbee15e79\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1625.2841796875,\n \"y\": -409.2679748535156,\n
\ \"width\": 984.2841796875,\n \"height\": 517.2679443359375\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\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_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -717.4093017578125,\n \"y\": -155.14901733398438,\n
\ \"width\": 191.4093017578125,\n \"height\": 311.14892578125\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}\"\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}\"\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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.PowerNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"7845b8d3-2f2e-4743-b9ee-62b372585037\",\n
\ \"m_Name\": \"PowerNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1015.2841186523438,\n \"y\": -257.26806640625,\n
\ \"width\": 354.28411865234377,\n \"height\": 464.2682189941406\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}\"\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}\"\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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"9d0b8029-de3f-4d49-8e94-2543eb26e4f1\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1387.2841796875,\n \"y\": 36.73191452026367,\n
\ \"width\": 461.2841796875,\n \"height\": 393.2680969238281\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\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_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -379.338623046875,\n \"y\": 126.68255615234375,\n
\ \"width\": -101.0,\n \"height\": 126.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}\"\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}\"\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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.AbsoluteNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"afe32aee-e0a2-4ade-b355-e4d57b3ce835\",\n
\ \"m_Name\": \"AbsoluteNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -712.6494750976563,\n \"y\": 182.84083557128907,\n
\ \"width\": 194.27740478515626,\n \"height\": 246.4850311279297\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}\"\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\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}"

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


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

331
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_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_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1608.3775634765625,\n \"y\": 1246.965576171875,\n
\ \"width\": 1608.3775634765625,\n \"height\": -1246.965576171875\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}\"\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubGraphOutputNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"c125654a-0be6-44c3-b177-54de0b1d84a7\",\n
\ \"m_Name\": \"SubGraphOutputs\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -440.0,\n \"y\": 855.0,\n \"width\":
440.0,\n \"height\": -855.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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.ViewDirectionNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"e8000378-07ad-437c-b2a1-4e807bf69c3c\",\n
\ \"m_Name\": \"View Direction\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -2261.71533203125,\n \"y\": 459.1549377441406,\n
\ \"width\": 762.92578125,\n \"height\": 214.20028686523438\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\\\": \\\"ViewDirection\\\",\\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\\\": \\\"ViewDirection\\\"\\n}\"\n }\n
\ ],\n \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.NormalNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"d31d4a7e-3a4a-4a1d-88c6-2987a58ae1d5\",\n
\ \"m_Name\": \"Normal\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -2256.71533203125,\n \"y\": 709.154541015625,\n
\ \"width\": 1090.92578125,\n \"height\": -79.79931640625\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.DotNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"0c18bff0-75d7-49b2-9f0a-3b260a7f8080\",\n
\ \"m_Name\": \"DotNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1924.7169189453125,\n \"y\": 594.154541015625,\n
\ \"width\": 757.9273681640625,\n \"height\": -35.79931640625\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}\"\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}\"\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.Vector1Node
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"994fb20b-d1c3-4959-b17f-f5cf7b2b784f\",\n
\ \"m_Name\": \"V1Node\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1938.68701171875,\n \"y\": 459.2627258300781,\n
\ \"width\": 987.8974609375,\n \"height\": 58.092498779296878\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1,\n \"m_PropertyName\": \"\",\n \"m_Description\":
\"\",\n \"m_Exposed\": 1,\n \"m_Value\": 1.0299999713897706\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.SubtractNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"b136494b-9339-420f-b1e3-6d0414421802\",\n
\ \"m_Name\": \"SubtractNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1632.9949951171875,\n \"y\": 646.719482421875,\n
\ \"width\": 663.2054443359375,\n \"height\": -36.3642578125\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}\"\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}\"\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}\"\n }\n ],\n
\ \"m_OutputPrecision\": 1\n}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.PowerNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"76df9552-ca24-4463-a5d3-776abb380d61\",\n
\ \"m_Name\": \"PowerNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -1272.822021484375,\n \"y\": 773.0263671875,\n
\ \"width\": 355.20501708984377,\n \"height\": -168.32025146484376\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}\"\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}\"\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}"
- typeInfo:
fullName: UnityEngine.MaterialGraph.MultiplyNode
assemblyName: Assembly-CSharp
JSONnodeData: "{\n \"m_GuidSerialized\": \"b1020cb6-bd15-4c6c-9656-298973c15223\",\n
\ \"m_Name\": \"MultiplyNode\",\n \"m_DrawData\": {\n \"m_Expanded\":
true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n
\ \"x\": -967.1226806640625,\n \"y\": 787.8782958984375,\n
\ \"width\": -238.8668212890625,\n \"height\": 476.4952392578125\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}\"\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}\"\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}"
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}"

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


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

12
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/PropertyNodeTests.cs.meta


fileFormatVersion: 2
guid: e121200f28196db44a1204c4189c01bb
timeCreated: 1470743942
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

12
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/UnitTests/PropertyGeneratorTests.cs.meta


fileFormatVersion: 2
guid: fdcc4209e9d976d4e8644e2b9bcef10d
timeCreated: 1470743942
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

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

116
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Testing/IntegrationTests/Graphs/ComplexGraph.ShaderGraph.dump


Shader "Graph/ComplexGraph"
{
Properties
{
myFLoat_Uniform("myFLoat_Uniform", Float) = 2
albedo_Uniform("albedo_Uniform", 2D) = "white" {}
[NonModifiableTextureData] Texture_10c0255547c543d7887276099a342a72_Uniform("Texture_10c0255547c543d7887276099a342a72_Uniform", 2D) = "bump" {}
[NonModifiableTextureData] Texture_69e565a689fa4073bab48943efdb9e04_Uniform("Texture_69e565a689fa4073bab48943efdb9e04_Uniform", 2D) = "white" {}
[NonModifiableTextureData] Texture_5f0a30ebf1334209b0016ef7a073a0cd_Uniform("Texture_5f0a30ebf1334209b0016ef7a073a0cd_Uniform", 2D) = "white" {}
[NonModifiableTextureData] Texture_3abdbbc22d2b48bc8068ba2349409fb8_Uniform("Texture_3abdbbc22d2b48bc8068ba2349409fb8_Uniform", 2D) = "white" {}
[NonModifiableTextureData] Texture_07e0e512479c4234aad6ec6e287e86d8_Uniform("Texture_07e0e512479c4234aad6ec6e287e86d8_Uniform", 2D) = "white" {}
}
SubShader
{
Tags {
"RenderType"="Opaque"
"Queue"="Geometry"
}
Blend One Zero
Cull Back
ZTest LEqual
ZWrite Off
LOD 200
CGPROGRAM
#pragma target 3.0
#pragma surface surf Standard vertex:vert
#pragma glsl
#pragma debug
inline half4 unity_multiply_half (half4 arg1, half4 arg2)
{
return arg1 * arg2;
}
inline half4 unity_absolute_half (half4 arg1)
{
return abs(arg1);
}
inline half4 unity_subtract_half (half4 arg1, half4 arg2)
{
return arg1 - arg2;
}
inline half4 unity_lerp_half (half4 first, half4 second, half4 s)
{
return lerp(first, second, s);
}
float myFLoat_Uniform;
sampler2D albedo_Uniform;
sampler2D Texture_10c0255547c543d7887276099a342a72_Uniform;
sampler2D Texture_69e565a689fa4073bab48943efdb9e04_Uniform;
sampler2D Texture_5f0a30ebf1334209b0016ef7a073a0cd_Uniform;
sampler2D Texture_3abdbbc22d2b48bc8068ba2349409fb8_Uniform;
sampler2D Texture_07e0e512479c4234aad6ec6e287e86d8_Uniform;
struct Input
{
half4 meshUV0;
};
void vert (inout appdata_full v, out Input o)
{
UNITY_INITIALIZE_OUTPUT(Input,o);
o.meshUV0 = v.texcoord;
}
void surf (Input IN, inout SurfaceOutputStandard o)
{
half4 UV_16f56a3066194ad4af76bbc8e315d6b9_UV = IN.meshUV0;
half4 MultiplyNode_291dae80ce1f428cb3fc18e928d9f879_Output = unity_multiply_half ((myFLoat_Uniform), UV_16f56a3066194ad4af76bbc8e315d6b9_UV);
float4 Texture_10c0255547c543d7887276099a342a72 = half4(UnpackNormal(tex2D (Texture_10c0255547c543d7887276099a342a72_Uniform, (MultiplyNode_291dae80ce1f428cb3fc18e928d9f879_Output.xy))), 0);
o.Normal = Texture_10c0255547c543d7887276099a342a72;
float4 Texture_aa92d11a1bda471680329a830bae6a3d = tex2D (albedo_Uniform, (MultiplyNode_291dae80ce1f428cb3fc18e928d9f879_Output.xy));
half4 AbsoluteNode_16eb35bd53f04ade87493ee19d968789_Output = unity_absolute_half (_SinTime);
float4 Texture_69e565a689fa4073bab48943efdb9e04 = tex2D (Texture_69e565a689fa4073bab48943efdb9e04_Uniform, (MultiplyNode_291dae80ce1f428cb3fc18e928d9f879_Output.xy));
half4 SubtractNode_77729a276cee4b949a9be817ccfdc93b_Output = unity_subtract_half (Texture_69e565a689fa4073bab48943efdb9e04, half4 (1,1,1,1));
half V1Node_91eeb73b16a14439b4f946b05bcd1b53_Uniform = 6.5;
half V1Node_e6c0fba0ae724af0ba98b5be74ceb7d7_Uniform = 7.27;
half4 AbsoluteNode_3afec43528c74dca8fb0a11cc3675030_Output = unity_absolute_half (_SinTime);
half4 AbsoluteNode_da0a24e6efec477b8f52a0ea6d148204_Output = unity_absolute_half (AbsoluteNode_3afec43528c74dca8fb0a11cc3675030_Output);
half4 LerpNode_c9b121a756654241988583f975ae0e77_Output = unity_lerp_half ((V1Node_91eeb73b16a14439b4f946b05bcd1b53_Uniform), (V1Node_e6c0fba0ae724af0ba98b5be74ceb7d7_Uniform), AbsoluteNode_da0a24e6efec477b8f52a0ea6d148204_Output);
half4 PowerNode_9bd6515d540045e4bdfbd50c1b836422_Output = pow (SubtractNode_77729a276cee4b949a9be817ccfdc93b_Output, LerpNode_c9b121a756654241988583f975ae0e77_Output);
half4 MultiplyNode_e3bfab336bc64776a85585b58986329a_Output = unity_multiply_half (AbsoluteNode_16eb35bd53f04ade87493ee19d968789_Output, PowerNode_9bd6515d540045e4bdfbd50c1b836422_Output);
float4 Texture_5f0a30ebf1334209b0016ef7a073a0cd = tex2D (Texture_5f0a30ebf1334209b0016ef7a073a0cd_Uniform, (MultiplyNode_291dae80ce1f428cb3fc18e928d9f879_Output.xy));
float4 Texture_3abdbbc22d2b48bc8068ba2349409fb8 = tex2D (Texture_3abdbbc22d2b48bc8068ba2349409fb8_Uniform, (MultiplyNode_291dae80ce1f428cb3fc18e928d9f879_Output.xy));
float4 Texture_07e0e512479c4234aad6ec6e287e86d8 = tex2D (Texture_07e0e512479c4234aad6ec6e287e86d8_Uniform, IN.meshUV0.xy);
o.Albedo = Texture_aa92d11a1bda471680329a830bae6a3d;
o.Emission = MultiplyNode_e3bfab336bc64776a85585b58986329a_Output;
o.Metallic = Texture_5f0a30ebf1334209b0016ef7a073a0cd;
o.Smoothness = Texture_3abdbbc22d2b48bc8068ba2349409fb8;
o.Occlusion = Texture_3abdbbc22d2b48bc8068ba2349409fb8.a;
o.Alpha = Texture_07e0e512479c4234aad6ec6e287e86d8.r;
}
ENDCG
}
FallBack "Diffuse"
}

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


fileFormatVersion: 2
guid: 4a82493946dbacf428ee5a9f379d3b70
timeCreated: 1454667809
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

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


fileFormatVersion: 2
guid: 47a3610eeab01d24ebbf4485244b2d16
timeCreated: 1454665199
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

5
MaterialGraphProject/Assets/UnityShaderEditor/Graphs.meta


fileFormatVersion: 2
guid: 8f82c34c146b71b4bb05d6936b5d6dc3
folderAsset: yes
DefaultImporter:
userData:
正在加载...
取消
保存