您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
636 行
14 KiB
636 行
14 KiB
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "efc62ef2a03b4bf49a1c3e39e10e8ac7",
|
|
"m_Properties": [
|
|
{
|
|
"m_Id": "8654092a6cc54f059808569563116153"
|
|
}
|
|
],
|
|
"m_Keywords": [],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "8934c197681d42ab90e95ea6207ae6ad"
|
|
},
|
|
{
|
|
"m_Id": "16b523d2096d419c9ba68173af73dcf8"
|
|
},
|
|
{
|
|
"m_Id": "80caaf8cf66f4e85adec0e9008ee0bea"
|
|
},
|
|
{
|
|
"m_Id": "93abbdc97fb14c448bf77295cd44cdc1"
|
|
},
|
|
{
|
|
"m_Id": "f18a8569373c4442a33121572e667199"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [
|
|
{
|
|
"m_Id": "b27a6e2fe82e4e9cb74515658f514324"
|
|
}
|
|
],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "16b523d2096d419c9ba68173af73dcf8"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "80caaf8cf66f4e85adec0e9008ee0bea"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "80caaf8cf66f4e85adec0e9008ee0bea"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "8934c197681d42ab90e95ea6207ae6ad"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "93abbdc97fb14c448bf77295cd44cdc1"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "16b523d2096d419c9ba68173af73dcf8"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "f18a8569373c4442a33121572e667199"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "93abbdc97fb14c448bf77295cd44cdc1"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": []
|
|
},
|
|
"m_PreviewData": {
|
|
"serializedMesh": {
|
|
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
"m_Guid": ""
|
|
}
|
|
},
|
|
"m_Path": "Sub Graphs",
|
|
"m_ConcretePrecision": 0,
|
|
"m_PreviewMode": 2,
|
|
"m_OutputNode": {
|
|
"m_Id": "8934c197681d42ab90e95ea6207ae6ad"
|
|
},
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.AddNode",
|
|
"m_ObjectId": "16b523d2096d419c9ba68173af73dcf8",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Add",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -48.857177734375,
|
|
"y": -98.857177734375,
|
|
"width": 208.0,
|
|
"height": 301.714111328125
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "98abf9f5c4e9422da519219e53d7f30a"
|
|
},
|
|
{
|
|
"m_Id": "439d8dcfcf4c4918aaf8101f5e57b19f"
|
|
},
|
|
{
|
|
"m_Id": "de2f49693b56433ba167f5191c8f293b"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "439d8dcfcf4c4918aaf8101f5e57b19f",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 1.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
"m_ObjectId": "46eaf31fd33d423d8a21f5fd827f3a75",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"e00": 0.0,
|
|
"e01": 0.0,
|
|
"e02": 0.0,
|
|
"e03": 0.0,
|
|
"e10": 0.0,
|
|
"e11": 0.0,
|
|
"e12": 0.0,
|
|
"e13": 0.0,
|
|
"e20": 0.0,
|
|
"e21": 0.0,
|
|
"e22": 0.0,
|
|
"e23": 0.0,
|
|
"e30": 0.0,
|
|
"e31": 0.0,
|
|
"e32": 0.0,
|
|
"e33": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"e00": 1.0,
|
|
"e01": 0.0,
|
|
"e02": 0.0,
|
|
"e03": 0.0,
|
|
"e10": 0.0,
|
|
"e11": 1.0,
|
|
"e12": 0.0,
|
|
"e13": 0.0,
|
|
"e20": 0.0,
|
|
"e21": 0.0,
|
|
"e22": 1.0,
|
|
"e23": 0.0,
|
|
"e30": 0.0,
|
|
"e31": 0.0,
|
|
"e32": 0.0,
|
|
"e33": 1.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
"m_ObjectId": "5f9184a70b154bdda1b42f8a0bbe6907",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "A",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "A",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"e00": 0.0,
|
|
"e01": 0.0,
|
|
"e02": 0.0,
|
|
"e03": 0.0,
|
|
"e10": 0.0,
|
|
"e11": 0.0,
|
|
"e12": 0.0,
|
|
"e13": 0.0,
|
|
"e20": 0.0,
|
|
"e21": 0.0,
|
|
"e22": 0.0,
|
|
"e23": 0.0,
|
|
"e30": 0.0,
|
|
"e31": 0.0,
|
|
"e32": 0.0,
|
|
"e33": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"e00": 1.0,
|
|
"e01": 0.0,
|
|
"e02": 0.0,
|
|
"e03": 0.0,
|
|
"e10": 0.0,
|
|
"e11": 1.0,
|
|
"e12": 0.0,
|
|
"e13": 0.0,
|
|
"e20": 0.0,
|
|
"e21": 0.0,
|
|
"e22": 1.0,
|
|
"e23": 0.0,
|
|
"e30": 0.0,
|
|
"e31": 0.0,
|
|
"e32": 0.0,
|
|
"e33": 1.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "6e7731dbd1bd4e92b6fe1066d4acbb08",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Sine01",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Sine01",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
"m_ObjectId": "7ae1d7f5204844c1aa230c3dfc0fe69b",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"e00": 0.5,
|
|
"e01": 2.0,
|
|
"e02": 2.0,
|
|
"e03": 2.0,
|
|
"e10": 2.0,
|
|
"e11": 2.0,
|
|
"e12": 2.0,
|
|
"e13": 2.0,
|
|
"e20": 2.0,
|
|
"e21": 2.0,
|
|
"e22": 2.0,
|
|
"e23": 2.0,
|
|
"e30": 2.0,
|
|
"e31": 2.0,
|
|
"e32": 2.0,
|
|
"e33": 2.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"e00": 1.0,
|
|
"e01": 0.0,
|
|
"e02": 0.0,
|
|
"e03": 0.0,
|
|
"e10": 0.0,
|
|
"e11": 1.0,
|
|
"e12": 0.0,
|
|
"e13": 0.0,
|
|
"e20": 0.0,
|
|
"e21": 0.0,
|
|
"e22": 1.0,
|
|
"e23": 0.0,
|
|
"e30": 0.0,
|
|
"e31": 0.0,
|
|
"e32": 0.0,
|
|
"e33": 1.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
|
|
"m_ObjectId": "80caaf8cf66f4e85adec0e9008ee0bea",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Multiply",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 143.142822265625,
|
|
"y": -98.857177734375,
|
|
"width": 125.71436309814453,
|
|
"height": 117.71411895751953
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "5f9184a70b154bdda1b42f8a0bbe6907"
|
|
},
|
|
{
|
|
"m_Id": "7ae1d7f5204844c1aa230c3dfc0fe69b"
|
|
},
|
|
{
|
|
"m_Id": "46eaf31fd33d423d8a21f5fd827f3a75"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "81baaad594104fad8c1d91c8ac295adf",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
|
"m_ObjectId": "8654092a6cc54f059808569563116153",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "4f1430dd-29d5-4601-85e7-753325033b54"
|
|
},
|
|
"m_Name": "InputValue",
|
|
"m_DefaultReferenceName": "Vector1_8654092a6cc54f059808569563116153",
|
|
"m_OverrideReferenceName": "",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_Precision": 0,
|
|
"overrideHLSLDeclaration": false,
|
|
"hlslDeclarationOverride": 0,
|
|
"m_Hidden": false,
|
|
"m_Value": 0.0,
|
|
"m_FloatType": 0,
|
|
"m_RangeValues": {
|
|
"x": 0.0,
|
|
"y": 1.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
|
"m_ObjectId": "8934c197681d42ab90e95ea6207ae6ad",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Output",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 351.4285888671875,
|
|
"y": -82.28570556640625,
|
|
"width": 88.0,
|
|
"height": 77.14285278320313
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "6e7731dbd1bd4e92b6fe1066d4acbb08"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"IsFirstSlotValid": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SineNode",
|
|
"m_ObjectId": "93abbdc97fb14c448bf77295cd44cdc1",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Sine",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -269.9998779296875,
|
|
"y": -98.857177734375,
|
|
"width": 128.0,
|
|
"height": 93.71411895751953
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "fb47d67eb7ec43d4b8e349274d63dd04"
|
|
},
|
|
{
|
|
"m_Id": "81baaad594104fad8c1d91c8ac295adf"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "98abf9f5c4e9422da519219e53d7f30a",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "A",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "A",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
|
"m_ObjectId": "b27a6e2fe82e4e9cb74515658f514324",
|
|
"m_Title": "",
|
|
"m_Content": "This subgraph calculates the sine of a value, but changes the range of results from -1...1 to 0...1",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -58.85714340209961,
|
|
"y": -265.71429443359377,
|
|
"width": 155.42857360839845,
|
|
"height": 100.0
|
|
},
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "de2f49693b56433ba167f5191c8f293b",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
|
"m_ObjectId": "f18a8569373c4442a33121572e667199",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -419.9998779296875,
|
|
"y": -52.000118255615237,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "fef7ff61ec384793baef96df55a19f36"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "8654092a6cc54f059808569563116153"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "fb47d67eb7ec43d4b8e349274d63dd04",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "In",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "In",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "fef7ff61ec384793baef96df55a19f36",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Vector1",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|