123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- {
- "m_SGVersion": 3,
- "m_Type": "UnityEditor.ShaderGraph.GraphData",
- "m_ObjectId": "0c0fb68778114e62b83d099efd6a5560",
- "m_Properties": [],
- "m_Keywords": [],
- "m_Dropdowns": [],
- "m_CategoryData": [
- {
- "m_Id": "0ed8affd0b2e4900b40f1fd3d9e67c01"
- }
- ],
- "m_Nodes": [
- {
- "m_Id": "1549c79363554810a204f77eb1c3e0df"
- },
- {
- "m_Id": "70d2891fcf6441078175ae15c3935f14"
- },
- {
- "m_Id": "4d2c13a7eb4648b58c30f81052575fa0"
- }
- ],
- "m_GroupDatas": [],
- "m_StickyNoteDatas": [
- {
- "m_Id": "35792eabbe6e4038b09e2f9ba32ea6df"
- }
- ],
- "m_Edges": [
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "4d2c13a7eb4648b58c30f81052575fa0"
- },
- "m_SlotId": 0
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "70d2891fcf6441078175ae15c3935f14"
- },
- "m_SlotId": 0
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "70d2891fcf6441078175ae15c3935f14"
- },
- "m_SlotId": 2
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "1549c79363554810a204f77eb1c3e0df"
- },
- "m_SlotId": 1
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "70d2891fcf6441078175ae15c3935f14"
- },
- "m_SlotId": 3
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "1549c79363554810a204f77eb1c3e0df"
- },
- "m_SlotId": 2
- }
- },
- {
- "m_OutputSlot": {
- "m_Node": {
- "m_Id": "70d2891fcf6441078175ae15c3935f14"
- },
- "m_SlotId": 5
- },
- "m_InputSlot": {
- "m_Node": {
- "m_Id": "1549c79363554810a204f77eb1c3e0df"
- },
- "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": "1549c79363554810a204f77eb1c3e0df"
- },
- "m_SubDatas": [],
- "m_ActiveTargets": []
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
- "m_ObjectId": "09cc1cc7893840c0b3637bb51d47645b",
- "m_Id": 3,
- "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": []
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.CategoryData",
- "m_ObjectId": "0ed8affd0b2e4900b40f1fd3d9e67c01",
- "m_Name": "",
- "m_ChildObjectList": []
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "0f87204c3df9471080806c1d4ad538f7",
- "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": []
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
- "m_ObjectId": "1549c79363554810a204f77eb1c3e0df",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Output",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": 0.0,
- "y": 0.0,
- "width": 0.0,
- "height": 0.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "0f87204c3df9471080806c1d4ad538f7"
- },
- {
- "m_Id": "d8368764d24a40dcbd978c1378a7260b"
- },
- {
- "m_Id": "09cc1cc7893840c0b3637bb51d47645b"
- }
- ],
- "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.StickyNoteData",
- "m_ObjectId": "35792eabbe6e4038b09e2f9ba32ea6df",
- "m_Title": "",
- "m_Content": "Using this Custom Function node, we're able to call URP code functions directly in order to get the lighting data that isn't otherwise available in Shader Graph.",
- "m_TextSize": 0,
- "m_Theme": 0,
- "m_Position": {
- "serializedVersion": "2",
- "x": -252.0,
- "y": 146.0,
- "width": 216.0,
- "height": 100.0
- },
- "m_Group": {
- "m_Id": ""
- }
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "3e799ddb37634f2b8cc3586c711ffeae",
- "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": 1,
- "m_Type": "UnityEditor.ShaderGraph.PositionNode",
- "m_ObjectId": "4d2c13a7eb4648b58c30f81052575fa0",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "Position",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -459.0,
- "y": 0.0,
- "width": 206.0,
- "height": 131.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "91e62c2f418a4b55a0ea4bf1afca2e2b"
- }
- ],
- "synonyms": [
- "location"
- ],
- "m_Precision": 0,
- "m_PreviewExpanded": false,
- "m_DismissedVersion": 0,
- "m_PreviewMode": 2,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_Space": 4,
- "m_PositionSource": 0
- }
-
- {
- "m_SGVersion": 1,
- "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
- "m_ObjectId": "70d2891fcf6441078175ae15c3935f14",
- "m_Group": {
- "m_Id": ""
- },
- "m_Name": "MainLight (Custom Function)",
- "m_DrawState": {
- "m_Expanded": true,
- "m_Position": {
- "serializedVersion": "2",
- "x": -252.0,
- "y": 0.0,
- "width": 218.0,
- "height": 142.0
- }
- },
- "m_Slots": [
- {
- "m_Id": "3e799ddb37634f2b8cc3586c711ffeae"
- },
- {
- "m_Id": "e5d5d5fd021143418488129ad44dd94c"
- },
- {
- "m_Id": "e26b6fea1aea48f5854ae9d1c02d9304"
- },
- {
- "m_Id": "c6c41782f0644d469b2b503a020f22c9"
- }
- ],
- "synonyms": [
- "code",
- "HLSL"
- ],
- "m_Precision": 0,
- "m_PreviewExpanded": false,
- "m_DismissedVersion": 0,
- "m_PreviewMode": 0,
- "m_CustomColors": {
- "m_SerializableColors": []
- },
- "m_SourceType": 0,
- "m_FunctionName": "MainLight",
- "m_FunctionSource": "3beadf505dbc54f4cae878435013d751",
- "m_FunctionBody": "Enter function body here..."
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "91e62c2f418a4b55a0ea4bf1afca2e2b",
- "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.Vector1MaterialSlot",
- "m_ObjectId": "c6c41782f0644d469b2b503a020f22c9",
- "m_Id": 5,
- "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.Vector3MaterialSlot",
- "m_ObjectId": "d8368764d24a40dcbd978c1378a7260b",
- "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": []
- }
-
- {
- "m_SGVersion": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "e26b6fea1aea48f5854ae9d1c02d9304",
- "m_Id": 3,
- "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": 0,
- "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
- "m_ObjectId": "e5d5d5fd021143418488129ad44dd94c",
- "m_Id": 2,
- "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": []
- }
|