2024-11-01 16:55:46 +08:00

681 lines
15 KiB
Plaintext

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "78748dd0abf04550b857475fcfc5434d",
"m_Properties": [
{
"m_Id": "ca6e01db41d47e83863c2684ab0f8c98"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "f9d76de66eb56e879af759847d8710e9"
},
{
"m_Id": "679b68d8cab68489a385dd36b6166a25"
},
{
"m_Id": "41d272524279598f99182ec8e93696b5"
},
{
"m_Id": "65a0ac8ba9d23b88ba7ebf0cba9a001f"
},
{
"m_Id": "e192b7fd9505818cb354773677f0edf1"
},
{
"m_Id": "00a5519be6a37d81a6cb9ac9f6aa3c2b"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "00a5519be6a37d81a6cb9ac9f6aa3c2b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "679b68d8cab68489a385dd36b6166a25"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "41d272524279598f99182ec8e93696b5"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "65a0ac8ba9d23b88ba7ebf0cba9a001f"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "65a0ac8ba9d23b88ba7ebf0cba9a001f"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e192b7fd9505818cb354773677f0edf1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "679b68d8cab68489a385dd36b6166a25"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "41d272524279598f99182ec8e93696b5"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e192b7fd9505818cb354773677f0edf1"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9d76de66eb56e879af759847d8710e9"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 342.0,
"y": 4.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 342.0,
"y": 204.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_OutputNode": {
"m_Id": "f9d76de66eb56e879af759847d8710e9"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "00a5519be6a37d81a6cb9ac9f6aa3c2b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -462.0,
"y": -123.0,
"width": 99.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "8aa9efd2d32da38fb4755d9854fa6e8b"
}
],
"synonyms": [],
"m_Precision": 2,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ca6e01db41d47e83863c2684ab0f8c98"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "14231841c1472f81abb461c8f966680e",
"m_Id": 1,
"m_DisplayName": "In Min Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "InMinMax",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1a17138a363144888a3ce2ff166dd298",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2ce445065d099e849c84af46403e8b14",
"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.FractionNode",
"m_ObjectId": "41d272524279598f99182ec8e93696b5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Fraction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -181.0,
"y": -98.0,
"width": 132.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "2ce445065d099e849c84af46403e8b14"
},
{
"m_Id": "809281568a55b58892f69633aeb7c792"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5d1024e3d6468f8fb3e99838bbfec94c",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "64ea3dac48a7cc84992d741b3ba5ca5a",
"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.RemapNode",
"m_ObjectId": "65a0ac8ba9d23b88ba7ebf0cba9a001f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Remap",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -21.0,
"y": -61.0,
"width": 188.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "af1af34c254b858b97bb95a54f5b6262"
},
{
"m_Id": "14231841c1472f81abb461c8f966680e"
},
{
"m_Id": "6ba49abbe602e286a5ff4b660756d378"
},
{
"m_Id": "90d98155e68e168f943b0396e979f5b2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AddNode",
"m_ObjectId": "679b68d8cab68489a385dd36b6166a25",
"m_Group": {
"m_Id": ""
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -331.0,
"y": -98.0,
"width": 130.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "5d1024e3d6468f8fb3e99838bbfec94c"
},
{
"m_Id": "bb69a3689181e18791960257f965a393"
},
{
"m_Id": "64ea3dac48a7cc84992d741b3ba5ca5a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "6ba49abbe602e286a5ff4b660756d378",
"m_Id": 2,
"m_DisplayName": "Out Min Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutMinMax",
"m_StageCapability": 3,
"m_Value": {
"x": -1.0,
"y": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "7fcc63e96fe6838593a17f9599e911f4",
"m_Id": 0,
"m_DisplayName": "Output",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Output",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "809281568a55b58892f69633aeb7c792",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "8aa9efd2d32da38fb4755d9854fa6e8b",
"m_Id": 0,
"m_DisplayName": "Input",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "90d98155e68e168f943b0396e979f5b2",
"m_Id": 3,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "af1af34c254b858b97bb95a54f5b6262",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": -1.0,
"y": -1.0,
"z": -1.0,
"w": -1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b1523ef4190b578a9074a1e8102be073",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "bb69a3689181e18791960257f965a393",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5,
"w": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "ca6e01db41d47e83863c2684ab0f8c98",
"m_Guid": {
"m_GuidSerialized": "8b831748-4bb9-4509-910e-75ffcafdc02e"
},
"m_Name": "Input",
"m_DefaultReferenceName": "Vector4_DF96E5E4",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 2,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AbsoluteNode",
"m_ObjectId": "e192b7fd9505818cb354773677f0edf1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Absolute",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 193.0,
"y": -61.0,
"width": 132.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "b1523ef4190b578a9074a1e8102be073"
},
{
"m_Id": "1a17138a363144888a3ce2ff166dd298"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "f9d76de66eb56e879af759847d8710e9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 355.0,
"y": -61.0,
"width": 91.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "7fcc63e96fe6838593a17f9599e911f4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}