您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
526 行
12 KiB
526 行
12 KiB
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "90963e34db5f4d7b90e4d605491594c4",
|
|
"m_Properties": [],
|
|
"m_Keywords": [],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "598c5dae9fd846549b73e57e4e8b1bf8"
|
|
},
|
|
{
|
|
"m_Id": "0d81b4d3b9c046a09567cdf9558c1f33"
|
|
},
|
|
{
|
|
"m_Id": "56cf72a079e1447a90c1f7721db7f732"
|
|
},
|
|
{
|
|
"m_Id": "193712e086ee47d095dd946670507fae"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "0d81b4d3b9c046a09567cdf9558c1f33"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "56cf72a079e1447a90c1f7721db7f732"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "0d81b4d3b9c046a09567cdf9558c1f33"
|
|
},
|
|
"m_SlotId": 3
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "56cf72a079e1447a90c1f7721db7f732"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "193712e086ee47d095dd946670507fae"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "0d81b4d3b9c046a09567cdf9558c1f33"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "56cf72a079e1447a90c1f7721db7f732"
|
|
},
|
|
"m_SlotId": 6
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "598c5dae9fd846549b73e57e4e8b1bf8"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
}
|
|
],
|
|
"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": "598c5dae9fd846549b73e57e4e8b1bf8"
|
|
},
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SplitNode",
|
|
"m_ObjectId": "0d81b4d3b9c046a09567cdf9558c1f33",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Split",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -38.4000244140625,
|
|
"y": -58.0,
|
|
"width": 119.2000732421875,
|
|
"height": 100.80000305175781
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "252a6a9cbd5a4d9185b13b67a4834049"
|
|
},
|
|
{
|
|
"m_Id": "6a00efc24e2345bbaac49d70bc2d986b"
|
|
},
|
|
{
|
|
"m_Id": "ae6a4a0152164061bfbb0e07293817be"
|
|
},
|
|
{
|
|
"m_Id": "98835ed675e0477ab0fc3a38781c3172"
|
|
},
|
|
{
|
|
"m_Id": "44fbbf97264f456ea164652fa728c538"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "18aaca7aa814464c9f5aed91cdb5889c",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "R",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "R",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
|
|
"m_ObjectId": "193712e086ee47d095dd946670507fae",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Position",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -270.4000244140625,
|
|
"y": -58.0,
|
|
"width": 205.5999755859375,
|
|
"height": 131.1999969482422
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "9baf72ed353049c4a31f7869cf373dad"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 1,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 2,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Space": 4
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "252a6a9cbd5a4d9185b13b67a4834049",
|
|
"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": "3eee1fb3e0e44f079c808b608a2bfe4c",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "44fbbf97264f456ea164652fa728c538",
|
|
"m_Id": 4,
|
|
"m_DisplayName": "A",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "A",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "4be71c4d420c4e4090d6a9b068d33ac9",
|
|
"m_Id": 5,
|
|
"m_DisplayName": "RGB",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "RGB",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.CombineNode",
|
|
"m_ObjectId": "56cf72a079e1447a90c1f7721db7f732",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Combine",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 104.800048828125,
|
|
"y": -58.0,
|
|
"width": 125.59998321533203,
|
|
"height": 118.39999389648438
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "18aaca7aa814464c9f5aed91cdb5889c"
|
|
},
|
|
{
|
|
"m_Id": "7385b7d8eead47378f6a320eb1f2b460"
|
|
},
|
|
{
|
|
"m_Id": "3eee1fb3e0e44f079c808b608a2bfe4c"
|
|
},
|
|
{
|
|
"m_Id": "e19315f6b51648f795827fa51523ccce"
|
|
},
|
|
{
|
|
"m_Id": "8940ccc311b749dfbc384b64b84d02c7"
|
|
},
|
|
{
|
|
"m_Id": "4be71c4d420c4e4090d6a9b068d33ac9"
|
|
},
|
|
{
|
|
"m_Id": "6188eb7de1f145caabd612c3c8d49248"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
|
"m_ObjectId": "598c5dae9fd846549b73e57e4e8b1bf8",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Output",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 367.60009765625,
|
|
"y": 0.0,
|
|
"width": 0.0,
|
|
"height": 0.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "f9f97b12030f4b0db28ad30169212ce7"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"IsFirstSlotValid": true
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
|
"m_ObjectId": "6188eb7de1f145caabd612c3c8d49248",
|
|
"m_Id": 6,
|
|
"m_DisplayName": "RG",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "RG",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "6a00efc24e2345bbaac49d70bc2d986b",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "R",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "R",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "7385b7d8eead47378f6a320eb1f2b460",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "G",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "G",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "8940ccc311b749dfbc384b64b84d02c7",
|
|
"m_Id": 4,
|
|
"m_DisplayName": "RGBA",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "RGBA",
|
|
"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_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "98835ed675e0477ab0fc3a38781c3172",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "9baf72ed353049c4a31f7869cf373dad",
|
|
"m_Id": 0,
|
|
"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
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "ae6a4a0152164061bfbb0e07293817be",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "G",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "G",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "e19315f6b51648f795827fa51523ccce",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "A",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "A",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
|
"m_ObjectId": "f9f97b12030f4b0db28ad30169212ce7",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out_Vector2",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "OutVector2",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|