Files
2024-11-20 15:21:28 +01:00

460 lines
10 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "2945d8b5b294465a9e3f5388c392cef8",
"m_Properties": [
{
"m_Id": "e3c9d2ef87432980976f036f46b8e889"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "a418ad121ee84882b757d1eedef26ad7"
}
],
"m_Nodes": [
{
"m_Id": "865102eeacb09d8a88885ea8f50d8f18"
},
{
"m_Id": "b2a053178906d0848480a1f463521a1b"
},
{
"m_Id": "dec9b26544b4a788b8ecb4117dc3d24a"
},
{
"m_Id": "5ec158abd968858c9d31ab40df5e9e6f"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5ec158abd968858c9d31ab40df5e9e6f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "dec9b26544b4a788b8ecb4117dc3d24a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b2a053178906d0848480a1f463521a1b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "865102eeacb09d8a88885ea8f50d8f18"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "dec9b26544b4a788b8ecb4117dc3d24a"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b2a053178906d0848480a1f463521a1b"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 276.0,
"y": -139.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 276.0,
"y": 61.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "865102eeacb09d8a88885ea8f50d8f18"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "28b75c3119d6e78d8b341c8d46203165",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2da5a03a7679d9819cd0e936757c0e42",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3ddae068ab26df8fbe01eeb18a7e7c34",
"m_Id": 0,
"m_DisplayName": "Object Space Position",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5ec158abd968858c9d31ab40df5e9e6f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -481.0,
"y": -99.0,
"width": 203.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "3ddae068ab26df8fbe01eeb18a7e7c34"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "e3c9d2ef87432980976f036f46b8e889"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "776c4bebab74668687842737c55a7d6d",
"m_Id": 1,
"m_DisplayName": "Object Space Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ObjectSpacePosition",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "79b66f515a245e8dba9c3c0f715d90c7",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "865102eeacb09d8a88885ea8f50d8f18",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 276.0,
"y": -139.0,
"width": 181.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "776c4bebab74668687842737c55a7d6d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "a418ad121ee84882b757d1eedef26ad7",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "e3c9d2ef87432980976f036f46b8e889"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "b2a053178906d0848480a1f463521a1b",
"m_Group": {
"m_Id": ""
},
"m_Name": "AddPragma (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 53.25,
"y": -139.0,
"width": 208.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "28b75c3119d6e78d8b341c8d46203165"
},
{
"m_Id": "79b66f515a245e8dba9c3c0f715d90c7"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 1,
"m_FunctionName": "AddPragma",
"m_FunctionSource": "",
"m_FunctionBody": "#pragma instancing_options renderinglayer procedural:setupVSPro\nOut = A;"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c3f04c0961fee0849852c6daa7b7a725",
"m_Id": 0,
"m_DisplayName": "Object Space Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ObjectSpacePosition",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "dec9b26544b4a788b8ecb4117dc3d24a",
"m_Group": {
"m_Id": ""
},
"m_Name": "InjectSetup (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -247.0,
"y": -139.0,
"width": 251.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "c3f04c0961fee0849852c6daa7b7a725"
},
{
"m_Id": "2da5a03a7679d9819cd0e936757c0e42"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "InjectSetup",
"m_FunctionSource": "8b0ee9f7966f1d8429bfe2e91384d5a8",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "e3c9d2ef87432980976f036f46b8e889",
"m_Guid": {
"m_GuidSerialized": "501b7414-2d2a-4404-a726-338e36d553ec"
},
"m_Name": "Object Space Position",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector3_314C8600",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}