123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652 |
- {
- "m_SGVersion": 2,
- "m_Type": "UnityEditor.ShaderGraph.GraphData",
- "m_ObjectId": "15208e96cd9242e986bb05df5d2d8656",
- "m_Properties": [],
- "m_Keywords": [],
- "m_Nodes": [
- {
- "m_Id": "24d9c4e09142eb87960fe72a834034b0"
- },
- {
- "m_Id": "47888b2a52dd86829fd0fc83888ca9af"
- },
- {
- "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba"
- },
- {
- "m_Id": "460554c8b8f91385b4245b907f278bcd"
- }
- ],
- "m_GroupDatas": [],
- "m_StickyNoteDatas": [],
- "m_Edges": [
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba"
- },
- "m_SlotId": 2
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "24d9c4e09142eb87960fe72a834034b0"
- },
- "m_SlotId": 2
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "460554c8b8f91385b4245b907f278bcd"
- },
- "m_SlotId": 0
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "47888b2a52dd86829fd0fc83888ca9af"
- },
- "m_SlotId": 4
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "47888b2a52dd86829fd0fc83888ca9af"
- },
- "m_SlotId": 0
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "24d9c4e09142eb87960fe72a834034b0"
- },
- "m_SlotId": 0
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "47888b2a52dd86829fd0fc83888ca9af"
- },
- "m_SlotId": 1
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "24d9c4e09142eb87960fe72a834034b0"
- },
- "m_SlotId": 1
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "47888b2a52dd86829fd0fc83888ca9af"
- },
- "m_SlotId": 2
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba"
- },
- "m_SlotId": 1
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "47888b2a52dd86829fd0fc83888ca9af"
- },
- "m_SlotId": 3
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "1cbf1e4b76ae2d818589baf16f07dfba"
- },
- "m_SlotId": 0
- }
- }
- ],
- "m_VertexContext": {
- "m_Position": {
- "x": 351.0000305175781,
- "y": 8.999998092651368
- },
- "m_Blocks": []
- },
- "m_FragmentContext": {
- "m_Position": {
- "x": 351.0000305175781,
- "y": 209.0
- },
- "m_Blocks": []
- },
- "m_PreviewData": {
- "serializedMesh": {
- "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
- "m_Guid": ""
- }
- },
- "m_Path": "Sub Graphs",
- "m_ConcretePrecision": 0,
- "m_PreviewMode": 2,
- "m_OutputNode": {
- "m_Id": "24d9c4e09142eb87960fe72a834034b0"
- },
- "m_ActiveTargets": []
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
- "m_ObjectId": "141ec55cc093f98b9075883368c14261",
- "m_Id": 2,
- "m_DisplayName": "DistanceAttenuation",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "DistanceAttenuation",
- "m_StageCapability": 3,
- "m_Value": 0.0,
- "m_DefaultValue": 0.0,
- "m_Labels": [
- "X"
- ]
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
- "m_ObjectId": "1cbf1e4b76ae2d818589baf16f07dfba",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Multiply",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": 164.00001525878907,
- "y": 72.00001525878906,
- "width": 137.0,
- "height": 118.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "b70689990c3b3c85929ca41cbfb7c175"
- },
- {
- "m_Id": "57f0cbe2e755d788869919ba898a434b"
- },
- {
- "m_Id": "8d280537369863848e712addf0e0122d"
- }
- ],
- "synonyms": [],
- "m_Precision": 0,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 0,
- "m_CustomColors": {
- "m_SerializableColors": []
- }
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "1e22176e2ec60b8baaef423036e72958",
- "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.SubGraphOutputNode",
- "m_ObjectId": "24d9c4e09142eb87960fe72a834034b0",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Output",
- "m_DrawState": {
- "m_Expanded": false,
- "m_Position": {
- "serializedVersion": "2",
- "x": 349.00006103515627,
- "y": 9.999998092651368,
- "width": 113.0,
- "height": 124.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "688d2e1f3235948cb16ab9e964a07470"
- },
- {
- "m_Id": "5b4014f6770ec3878a6eee1f334fb428"
- },
- {
- "m_Id": "5834b96a0bf1358690fdcc170621e0bb"
- }
- ],
- "synonyms": [],
- "m_Precision": 0,
- "m_PreviewExpanded": true,
- "m_PreviewMode": 0,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "IsFirstSlotValid": true
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "3891b8ec84680782b5e81b51359e23c5",
- "m_Id": 0,
- "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": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "460554c8b8f91385b4245b907f278bcd",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -359.99993896484377,
- "y": 5.00000524520874,
- "width": 206.0,
- "height": 130.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "1e22176e2ec60b8baaef423036e72958"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 4
- }
- {
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
- "m_ObjectId": "47888b2a52dd86829fd0fc83888ca9af",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "GetLightingInformation (Custom Function)",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -135.00006103515626,
- "y": 3.000002861022949,
- "width": 275.0000305175781,
- "height": 166.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "3891b8ec84680782b5e81b51359e23c5"
- },
- {
- "m_Id": "6e75691bbeb2ac85bd7f5ac440f980e7"
- },
- {
- "m_Id": "6c27af4e0ec3a781bba32f458207db6c"
- },
- {
- "m_Id": "141ec55cc093f98b9075883368c14261"
- },
- {
- "m_Id": "f48e44461cb60f8b81c3aa9e227c1f45"
- }
- ],
- "synonyms": [],
- "m_Precision": 1,
- "m_PreviewExpanded": false,
- "m_PreviewMode": 0,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_SourceType": 0,
- "m_FunctionName": "GetLightingInformation",
- "m_FunctionSource": "db6449133ab1bd441a66c7968a1a2809",
- "m_FunctionBody": "Enter function body here..."
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
- "m_ObjectId": "57f0cbe2e755d788869919ba898a434b",
- "m_Id": 1,
- "m_DisplayName": "B",
- "m_SlotType": 0,
- "m_Hidden": false,
- "m_ShaderOutputName": "B",
- "m_StageCapability": 3,
- "m_Value": {
- "e00": 2.0,
- "e01": 2.0,
- "e02": 2.0,
- "e03": 2.0,
- "e10": 2.0,
- "e11": 2.0,
- "e12": 2.0,
- "e13": 2.0,
- "e20": 2.0,
- "e21": 2.0,
- "e22": 2.0,
- "e23": 2.0,
- "e30": 2.0,
- "e31": 2.0,
- "e32": 2.0,
- "e33": 2.0
- },
- "m_DefaultValue": {
- "e00": 1.0,
- "e01": 0.0,
- "e02": 0.0,
- "e03": 0.0,
- "e10": 0.0,
- "e11": 1.0,
- "e12": 0.0,
- "e13": 0.0,
- "e20": 0.0,
- "e21": 0.0,
- "e22": 1.0,
- "e23": 0.0,
- "e30": 0.0,
- "e31": 0.0,
- "e32": 0.0,
- "e33": 1.0
- }
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
- "m_ObjectId": "5834b96a0bf1358690fdcc170621e0bb",
- "m_Id": 2,
- "m_DisplayName": "Attenuation",
- "m_SlotType": 0,
- "m_Hidden": false,
- "m_ShaderOutputName": "Attenuation",
- "m_StageCapability": 3,
- "m_Value": 0.0,
- "m_DefaultValue": 0.0,
- "m_Labels": [
- "X"
- ]
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "5b4014f6770ec3878a6eee1f334fb428",
- "m_Id": 1,
- "m_DisplayName": "Colour",
- "m_SlotType": 0,
- "m_Hidden": false,
- "m_ShaderOutputName": "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": [
- "X",
- "Y",
- "Z"
- ]
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "688d2e1f3235948cb16ab9e964a07470",
- "m_Id": 0,
- "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": "6c27af4e0ec3a781bba32f458207db6c",
- "m_Id": 3,
- "m_DisplayName": "ShadowAttenuation",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "ShadowAttenuation",
- "m_StageCapability": 3,
- "m_Value": 0.0,
- "m_DefaultValue": 0.0,
- "m_Labels": [
- "X"
- ]
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "6e75691bbeb2ac85bd7f5ac440f980e7",
- "m_Id": 1,
- "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"
- ]
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
- "m_ObjectId": "8d280537369863848e712addf0e0122d",
- "m_Id": 2,
- "m_DisplayName": "Out",
- "m_SlotType": 1,
- "m_Hidden": false,
- "m_ShaderOutputName": "Out",
- "m_StageCapability": 3,
- "m_Value": {
- "e00": 0.0,
- "e01": 0.0,
- "e02": 0.0,
- "e03": 0.0,
- "e10": 0.0,
- "e11": 0.0,
- "e12": 0.0,
- "e13": 0.0,
- "e20": 0.0,
- "e21": 0.0,
- "e22": 0.0,
- "e23": 0.0,
- "e30": 0.0,
- "e31": 0.0,
- "e32": 0.0,
- "e33": 0.0
- },
- "m_DefaultValue": {
- "e00": 1.0,
- "e01": 0.0,
- "e02": 0.0,
- "e03": 0.0,
- "e10": 0.0,
- "e11": 1.0,
- "e12": 0.0,
- "e13": 0.0,
- "e20": 0.0,
- "e21": 0.0,
- "e22": 1.0,
- "e23": 0.0,
- "e30": 0.0,
- "e31": 0.0,
- "e32": 0.0,
- "e33": 1.0
- }
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
- "m_ObjectId": "b70689990c3b3c85929ca41cbfb7c175",
- "m_Id": 0,
- "m_DisplayName": "A",
- "m_SlotType": 0,
- "m_Hidden": false,
- "m_ShaderOutputName": "A",
- "m_StageCapability": 3,
- "m_Value": {
- "e00": 0.0,
- "e01": 0.0,
- "e02": 0.0,
- "e03": 0.0,
- "e10": 0.0,
- "e11": 0.0,
- "e12": 0.0,
- "e13": 0.0,
- "e20": 0.0,
- "e21": 0.0,
- "e22": 0.0,
- "e23": 0.0,
- "e30": 0.0,
- "e31": 0.0,
- "e32": 0.0,
- "e33": 0.0
- },
- "m_DefaultValue": {
- "e00": 1.0,
- "e01": 0.0,
- "e02": 0.0,
- "e03": 0.0,
- "e10": 0.0,
- "e11": 1.0,
- "e12": 0.0,
- "e13": 0.0,
- "e20": 0.0,
- "e21": 0.0,
- "e22": 1.0,
- "e23": 0.0,
- "e30": 0.0,
- "e31": 0.0,
- "e32": 0.0,
- "e33": 1.0
- }
- }
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "f48e44461cb60f8b81c3aa9e227c1f45",
- "m_Id": 4,
- "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"
- ]
- }
|