Files
CortexCore 911c184a2a 1
2024-05-17 16:44:15 +08:00

498 lines
11 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "bff7f3b7ab1841fe95b6202344ac5edf",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "2b8f2bda45cf4a139ad58f74c6114bce"
}
],
"m_Nodes": [
{
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
},
{
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
},
{
"m_Id": "45a274bc2cd24718a39952f72d69e103"
},
{
"m_Id": "ba109479935640f29cd478c5cff9554d"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ba109479935640f29cd478c5cff9554d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "45a274bc2cd24718a39952f72d69e103"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2208a28e0ecf47ab893c097c567e19d1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ba109479935640f29cd478c5cff9554d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "GapperGames",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "963343797bb445a1b7e1265f67b53e3e"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "19cba0ddec274f67bdf3c0815d3151ad",
"m_Id": 2,
"m_DisplayName": "Light_Colour",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Light_Colour",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "2208a28e0ecf47ab893c097c567e19d1",
"m_Group": {
"m_Id": ""
},
"m_Name": "MainLight (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 15.0,
"y": -74.0,
"width": 225.0,
"height": 166.0
}
},
"m_Slots": [
{
"m_Id": "733d56056beb467f9f129ad3296573b6"
},
{
"m_Id": "9434b8616c1a444ba4f84d74fd5c796a"
},
{
"m_Id": "3eef5c92690540d08c4755f31c25c33b"
},
{
"m_Id": "dadfb4b90e20479a80eefd2ce37e6b00"
},
{
"m_Id": "4a7f350f06c14749a304cc68ebd0831d"
}
],
"synonyms": [],
"m_Precision": 2,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MainLight",
"m_FunctionSource": "66aa088e28495b548a036c9daf4cfbc9",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "2b8f2bda45cf4a139ad58f74c6114bce",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3eef5c92690540d08c4755f31c25c33b",
"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": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "45a274bc2cd24718a39952f72d69e103",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -240.00003051757813,
"y": -73.99999237060547,
"width": 205.99998474121095,
"height": 132.0
}
},
"m_Slots": [
{
"m_Id": "5cfb35ad4103408dae4e295db6adccf5"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"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": "4a7f350f06c14749a304cc68ebd0831d",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "4e7961879b6f48a5b0f31bf0ba93f64f",
"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.Vector3MaterialSlot",
"m_ObjectId": "5cfb35ad4103408dae4e295db6adccf5",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "5e1f848763d04a9d91adfaccd5161d49",
"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.Vector3MaterialSlot",
"m_ObjectId": "6ae513b3ce09419cbb648d9a6304b38b",
"m_Id": 1,
"m_DisplayName": "Light_Direction",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Light_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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "733d56056beb467f9f129ad3296573b6",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9434b8616c1a444ba4f84d74fd5c796a",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "963343797bb445a1b7e1265f67b53e3e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 448.0,
"y": -74.0,
"width": 133.0,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "6ae513b3ce09419cbb648d9a6304b38b"
},
{
"m_Id": "19cba0ddec274f67bdf3c0815d3151ad"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalizeNode",
"m_ObjectId": "ba109479935640f29cd478c5cff9554d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 273.0,
"y": -74.0,
"width": 132.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "4e7961879b6f48a5b0f31bf0ba93f64f"
},
{
"m_Id": "5e1f848763d04a9d91adfaccd5161d49"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "dadfb4b90e20479a80eefd2ce37e6b00",
"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": []
}