You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

498 lines
11 KiB

10 months ago
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "d02165db9c78428da87d061c2a5be5ed",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "0ac95e2d599d43278a849eafe18e9847"
}
],
"m_Nodes": [
{
"m_Id": "99118e58e923cc86bacaf8e01e9b74bb"
},
{
"m_Id": "2109d487bee03d898f6e9b62a1772430"
},
{
"m_Id": "a7d219cf72395b88a971c08fac86e997"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2109d487bee03d898f6e9b62a1772430"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a7d219cf72395b88a971c08fac86e997"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a7d219cf72395b88a971c08fac86e997"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "99118e58e923cc86bacaf8e01e9b74bb"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a7d219cf72395b88a971c08fac86e997"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "99118e58e923cc86bacaf8e01e9b74bb"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a7d219cf72395b88a971c08fac86e997"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "99118e58e923cc86bacaf8e01e9b74bb"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a7d219cf72395b88a971c08fac86e997"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "99118e58e923cc86bacaf8e01e9b74bb"
},
"m_SlotId": 4
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 358.0,
"y": -71.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 358.0,
"y": 129.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": "99118e58e923cc86bacaf8e01e9b74bb"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "0ac95e2d599d43278a849eafe18e9847",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "108babccad746885baac7b41d4666f60",
"m_Id": 3,
"m_DisplayName": "DistanceAtten",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "DistanceAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "2109d487bee03d898f6e9b62a1772430",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -238.75,
"y": -161.25,
"width": 208.0,
"height": 315.0
}
},
"m_Slots": [
{
"m_Id": "856aa99492c54987a89cc060106a6190"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "2bf6c2219686eb839c915ef840d784bf",
"m_Id": 3,
"m_DisplayName": "DistanceAtten",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "DistanceAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "60bb9b217abf628eaca2c0733581397f",
"m_Id": 4,
"m_DisplayName": "ShadowAtten",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "708eab93438c2886a9272533182f6600",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"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": "7779a304eaefa38ca1bda0aa9bca190e",
"m_Id": 2,
"m_DisplayName": "Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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": "856aa99492c54987a89cc060106a6190",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "85ce3ecccf0ba582831072c7293cf886",
"m_Id": 0,
"m_DisplayName": "WorldPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPos",
"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": "99118e58e923cc86bacaf8e01e9b74bb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 358.0,
"y": -71.0,
"width": 128.0,
"height": 149.0
}
},
"m_Slots": [
{
"m_Id": "a7eeb6438fadac84badf73b063d96e42"
},
{
"m_Id": "7779a304eaefa38ca1bda0aa9bca190e"
},
{
"m_Id": "108babccad746885baac7b41d4666f60"
},
{
"m_Id": "60bb9b217abf628eaca2c0733581397f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "a7d219cf72395b88a971c08fac86e997",
"m_Group": {
"m_Id": ""
},
"m_Name": "MainLight (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 24.0,
"y": -158.0,
"width": 238.0,
"height": 350.0
}
},
"m_Slots": [
{
"m_Id": "85ce3ecccf0ba582831072c7293cf886"
},
{
"m_Id": "708eab93438c2886a9272533182f6600"
},
{
"m_Id": "ba92028cd1f4d882b90b2711e56653d4"
},
{
"m_Id": "2bf6c2219686eb839c915ef840d784bf"
},
{
"m_Id": "aa260bc813267b83846a2b46e3bab01e"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MainLight",
"m_FunctionSource": "fd96fa3ae441a2a43a4be1835e3752d0",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "a7eeb6438fadac84badf73b063d96e42",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"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.Vector1MaterialSlot",
"m_ObjectId": "aa260bc813267b83846a2b46e3bab01e",
"m_Id": 4,
"m_DisplayName": "ShadowAtten",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ba92028cd1f4d882b90b2711e56653d4",
"m_Id": 2,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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"
]
}