Files
Cielonos/Assets/External VFXs/INab Studio/Post Processing Assets/Common/Subgraphs/Edge Detection/RobertsCrossOperator.shadersubgraph
SoulliesOfficial d94241f36c 场景设计
2026-01-12 03:22:16 -05:00

654 lines
14 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "d35e686e5eef4bb5b425cc1f05592c6a",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "3f14799bc1694286a66fd5de1e167dbe"
}
],
"m_Nodes": [
{
"m_Id": "4690c113473e454e97b357a5c0fd80d7"
},
{
"m_Id": "40e9584587ae4015a9d94d92b49588f0"
},
{
"m_Id": "258b3258119540a28436a2e1b087742f"
},
{
"m_Id": "1dca39ffd1b441fcacb2c58ea72062bc"
},
{
"m_Id": "f5d4ee0ad5b541d6a84684936563c42d"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1dca39ffd1b441fcacb2c58ea72062bc"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4690c113473e454e97b357a5c0fd80d7"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "258b3258119540a28436a2e1b087742f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4690c113473e454e97b357a5c0fd80d7"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "40e9584587ae4015a9d94d92b49588f0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4690c113473e454e97b357a5c0fd80d7"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f5d4ee0ad5b541d6a84684936563c42d"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4690c113473e454e97b357a5c0fd80d7"
},
"m_SlotId": 3
}
}
],
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "4690c113473e454e97b357a5c0fd80d7"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "05c70e3171074551bc0ba760d90368f3",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": -1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2Node",
"m_ObjectId": "1dca39ffd1b441fcacb2c58ea72062bc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 2",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 39.00002670288086,
"y": -100.99998474121094,
"width": 128.0,
"height": 100.99999237060547
}
},
"m_Slots": [
{
"m_Id": "f2c1b018fa784237b39c1e40db4ee6dd"
},
{
"m_Id": "75c2b8edbff847bea9cb1e48a3362c51"
},
{
"m_Id": "9e1c288311e04dc1a3ebeede7d24ab9d"
}
],
"synonyms": [
"2",
"v2",
"vec2",
"float2"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2Node",
"m_ObjectId": "258b3258119540a28436a2e1b087742f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 2",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 58.00001525878906,
"y": 189.0,
"width": 128.0,
"height": 101.00003051757813
}
},
"m_Slots": [
{
"m_Id": "509bc3f140614feba57325a1087140ea"
},
{
"m_Id": "5aa09404975c4e899c2a27a83606f40b"
},
{
"m_Id": "348cce79c8da4c9896d0f2c88b7d4e2c"
}
],
"synonyms": [
"2",
"v2",
"vec2",
"float2"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "348cce79c8da4c9896d0f2c88b7d4e2c",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "3f14799bc1694286a66fd5de1e167dbe",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2Node",
"m_ObjectId": "40e9584587ae4015a9d94d92b49588f0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 2",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 53.00001907348633,
"y": -224.00001525878907,
"width": 128.0,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "bfd7770fef6f4197a7cd0e9ccd752587"
},
{
"m_Id": "71fc0c4b77644aa8a74471636100cb74"
},
{
"m_Id": "732b16ce548b48c1986907f3e8bf2e56"
}
],
"synonyms": [
"2",
"v2",
"vec2",
"float2"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "4690c113473e454e97b357a5c0fd80d7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 304.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "8cff62160a004ea8a6499b798b50abfd"
},
{
"m_Id": "fbbc7f57c67044dfa0cc79b990085a76"
},
{
"m_Id": "afb55acc66c240b9b6a68a026e20105f"
},
{
"m_Id": "691fc8a87939499984c543c142d33046"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "509bc3f140614feba57325a1087140ea",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": -1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5aa09404975c4e899c2a27a83606f40b",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "691fc8a87939499984c543c142d33046",
"m_Id": 4,
"m_DisplayName": "topLeft",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "topLeft",
"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": "71fc0c4b77644aa8a74471636100cb74",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": -1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "732b16ce548b48c1986907f3e8bf2e56",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "75c2b8edbff847bea9cb1e48a3362c51",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "8cff62160a004ea8a6499b798b50abfd",
"m_Id": 1,
"m_DisplayName": "bottomLeft",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "bottomLeft",
"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.Vector2MaterialSlot",
"m_ObjectId": "9e1c288311e04dc1a3ebeede7d24ab9d",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "a9c25b77aae840ed8a515ba20f99165b",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "afb55acc66c240b9b6a68a026e20105f",
"m_Id": 3,
"m_DisplayName": "bottomRight",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "bottomRight",
"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": "bfd7770fef6f4197a7cd0e9ccd752587",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": -1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f2c1b018fa784237b39c1e40db4ee6dd",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f48a3b7c16d446d68b116c1518ad58bc",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2Node",
"m_ObjectId": "f5d4ee0ad5b541d6a84684936563c42d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 2",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 53.00001907348633,
"y": 9.99998950958252,
"width": 128.0,
"height": 101.00001525878906
}
},
"m_Slots": [
{
"m_Id": "f48a3b7c16d446d68b116c1518ad58bc"
},
{
"m_Id": "05c70e3171074551bc0ba760d90368f3"
},
{
"m_Id": "a9c25b77aae840ed8a515ba20f99165b"
}
],
"synonyms": [
"2",
"v2",
"vec2",
"float2"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "fbbc7f57c67044dfa0cc79b990085a76",
"m_Id": 2,
"m_DisplayName": "topRight",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "topRight",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}