| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577 | {    "m_SGVersion": 3,    "m_Type": "UnityEditor.ShaderGraph.GraphData",    "m_ObjectId": "52f59ea790e044e680fe693ee8119007",    "m_Properties": [        {            "m_Id": "cd2703af38ed41ca90e0ac549637e5f6"        }    ],    "m_Keywords": [],    "m_Dropdowns": [],    "m_CategoryData": [        {            "m_Id": "52c96902967442a499825af3fff0e0b0"        }    ],    "m_Nodes": [        {            "m_Id": "885a2e25c8f375838bbf9d55c83a3b33"        },        {            "m_Id": "4419b13d7b31e68e8e059676cfda8898"        },        {            "m_Id": "b0e88eab1879e18682f7b91ee0765e49"        },        {            "m_Id": "f052100cdf4f412ba383e3ff25c875ab"        },        {            "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff"        }    ],    "m_GroupDatas": [],    "m_StickyNoteDatas": [],    "m_Edges": [        {            "m_OutputSlot": {                "m_Node": {                    "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff"                },                "m_SlotId": 3            },            "m_InputSlot": {                "m_Node": {                    "m_Id": "4419b13d7b31e68e8e059676cfda8898"                },                "m_SlotId": 1            }        },        {            "m_OutputSlot": {                "m_Node": {                    "m_Id": "4419b13d7b31e68e8e059676cfda8898"                },                "m_SlotId": 0            },            "m_InputSlot": {                "m_Node": {                    "m_Id": "b0e88eab1879e18682f7b91ee0765e49"                },                "m_SlotId": 1            }        },        {            "m_OutputSlot": {                "m_Node": {                    "m_Id": "885a2e25c8f375838bbf9d55c83a3b33"                },                "m_SlotId": 0            },            "m_InputSlot": {                "m_Node": {                    "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff"                },                "m_SlotId": 2            }        },        {            "m_OutputSlot": {                "m_Node": {                    "m_Id": "f052100cdf4f412ba383e3ff25c875ab"                },                "m_SlotId": 0            },            "m_InputSlot": {                "m_Node": {                    "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff"                },                "m_SlotId": 0            }        },        {            "m_OutputSlot": {                "m_Node": {                    "m_Id": "f052100cdf4f412ba383e3ff25c875ab"                },                "m_SlotId": 0            },            "m_InputSlot": {                "m_Node": {                    "m_Id": "32c53f31cd1e49e29e46f4fd1d0ebbff"                },                "m_SlotId": 1            }        }    ],    "m_VertexContext": {        "m_Position": {            "x": 232.0,            "y": -56.0        },        "m_Blocks": []    },    "m_FragmentContext": {        "m_Position": {            "x": 232.0,            "y": 144.0        },        "m_Blocks": []    },    "m_PreviewData": {        "serializedMesh": {            "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",            "m_Guid": ""        },        "preventRotation": false    },    "m_Path": "Custom Lighting",    "m_GraphPrecision": 0,    "m_PreviewMode": 2,    "m_OutputNode": {        "m_Id": "b0e88eab1879e18682f7b91ee0765e49"    },    "m_ActiveTargets": []}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",    "m_ObjectId": "2047e7836560de869911c7705903993e",    "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": 1.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": "22fa946712ed698b89a7af1a20caebda",    "m_Id": 1,    "m_DisplayName": "WorldNormal",    "m_SlotType": 0,    "m_Hidden": false,    "m_ShaderOutputName": "WorldNormal",    "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.DynamicVectorMaterialSlot",    "m_ObjectId": "2facbd1ce9ab478597441e686c421476",    "m_Id": 3,    "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.BranchOnInputConnectionNode",    "m_ObjectId": "32c53f31cd1e49e29e46f4fd1d0ebbff",    "m_Group": {        "m_Id": ""    },    "m_Name": "Branch On Input Connection",    "m_DrawState": {        "m_Expanded": true,        "m_Position": {            "serializedVersion": "2",            "x": -248.0,            "y": -56.0,            "width": 206.0,            "height": 142.0        }    },    "m_Slots": [        {            "m_Id": "46ddd457eda745c98e2cfbe6871992ee"        },        {            "m_Id": "e16152f8f59442ac9730358321c4ec02"        },        {            "m_Id": "bbea3e32bdeb4e5499e0a794cd3df840"        },        {            "m_Id": "2facbd1ce9ab478597441e686c421476"        }    ],    "synonyms": [],    "m_Precision": 0,    "m_PreviewExpanded": false,    "m_PreviewMode": 0,    "m_CustomColors": {        "m_SerializableColors": []    }}{    "m_SGVersion": 1,    "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",    "m_ObjectId": "4419b13d7b31e68e8e059676cfda8898",    "m_Group": {        "m_Id": ""    },    "m_Name": "AmbientSampleSH (Custom Function)",    "m_DrawState": {        "m_Expanded": true,        "m_Position": {            "serializedVersion": "2",            "x": -42.0,            "y": -56.0,            "width": 261.0,            "height": 278.0        }    },    "m_Slots": [        {            "m_Id": "22fa946712ed698b89a7af1a20caebda"        },        {            "m_Id": "e6009d97dadf248e95fb0853f082cf05"        }    ],    "synonyms": [        "code",        "HLSL"    ],    "m_Precision": 0,    "m_PreviewExpanded": true,    "m_PreviewMode": 0,    "m_CustomColors": {        "m_SerializableColors": []    },    "m_SourceType": 0,    "m_FunctionName": "AmbientSampleSH",    "m_FunctionSource": "5c09ec492074d214fbe1a19781ad15e8",    "m_FunctionBody": "#ifdef SHADERGRAPH_PREVIEW\nSH = float3(0,0,0);\n#else\nSH = SampleSH(WorldNormal);\n#endif"}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot",    "m_ObjectId": "46ddd457eda745c98e2cfbe6871992ee",    "m_Id": 0,    "m_DisplayName": "Input",    "m_SlotType": 0,    "m_Hidden": false,    "m_ShaderOutputName": "Input",    "m_StageCapability": 3}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.CategoryData",    "m_ObjectId": "52c96902967442a499825af3fff0e0b0",    "m_Name": "",    "m_ChildObjectList": [        {            "m_Id": "cd2703af38ed41ca90e0ac549637e5f6"        }    ]}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",    "m_ObjectId": "885a2e25c8f375838bbf9d55c83a3b33",    "m_Group": {        "m_Id": ""    },    "m_Name": "Normal Vector",    "m_DrawState": {        "m_Expanded": true,        "m_Position": {            "serializedVersion": "2",            "x": -480.0,            "y": 35.0,            "width": 206.0,            "height": 131.0        }    },    "m_Slots": [        {            "m_Id": "2047e7836560de869911c7705903993e"        }    ],    "synonyms": [        "surface direction"    ],    "m_Precision": 0,    "m_PreviewExpanded": false,    "m_PreviewMode": 2,    "m_CustomColors": {        "m_SerializableColors": []    },    "m_Space": 2}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",    "m_ObjectId": "a2fae08129a94733bb74549349cdff6d",    "m_Id": 0,    "m_DisplayName": "Normal",    "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.SubGraphOutputNode",    "m_ObjectId": "b0e88eab1879e18682f7b91ee0765e49",    "m_Group": {        "m_Id": ""    },    "m_Name": "Out_Vector3",    "m_DrawState": {        "m_Expanded": true,        "m_Position": {            "serializedVersion": "2",            "x": 219.0,            "y": -56.0,            "width": 118.0,            "height": 77.0        }    },    "m_Slots": [        {            "m_Id": "fb5ac210049e4589905ecc40588461a3"        }    ],    "synonyms": [],    "m_Precision": 0,    "m_PreviewExpanded": true,    "m_PreviewMode": 0,    "m_CustomColors": {        "m_SerializableColors": []    },    "IsFirstSlotValid": true}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",    "m_ObjectId": "bbea3e32bdeb4e5499e0a794cd3df840",    "m_Id": 2,    "m_DisplayName": "NotConnected",    "m_SlotType": 0,    "m_Hidden": false,    "m_ShaderOutputName": "NotConnected",    "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": 1,    "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",    "m_ObjectId": "cd2703af38ed41ca90e0ac549637e5f6",    "m_Guid": {        "m_GuidSerialized": "7cbab9af-00fb-40a7-904f-86352c24f4a2"    },    "m_Name": "Normal",    "m_DefaultRefNameVersion": 1,    "m_RefNameGeneratedByDisplayName": "Normal",    "m_DefaultReferenceName": "_Normal",    "m_OverrideReferenceName": "",    "m_GeneratePropertyBlock": true,    "m_UseCustomSlotLabel": true,    "m_CustomSlotLabel": "World Space",    "m_Precision": 0,    "overrideHLSLDeclaration": false,    "hlslDeclarationOverride": 0,    "m_Hidden": false,    "m_Value": {        "x": 0.0,        "y": 0.0,        "z": 0.0,        "w": 0.0    }}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",    "m_ObjectId": "e16152f8f59442ac9730358321c4ec02",    "m_Id": 1,    "m_DisplayName": "Connected",    "m_SlotType": 0,    "m_Hidden": false,    "m_ShaderOutputName": "Connected",    "m_StageCapability": 3,    "m_Value": {        "x": 1.0,        "y": 1.0,        "z": 1.0,        "w": 1.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": "e6009d97dadf248e95fb0853f082cf05",    "m_Id": 0,    "m_DisplayName": "SH",    "m_SlotType": 1,    "m_Hidden": false,    "m_ShaderOutputName": "SH",    "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": "f052100cdf4f412ba383e3ff25c875ab",    "m_Group": {        "m_Id": ""    },    "m_Name": "Property",    "m_DrawState": {        "m_Expanded": true,        "m_Position": {            "serializedVersion": "2",            "x": -401.0,            "y": -16.0,            "width": 115.0,            "height": 34.0        }    },    "m_Slots": [        {            "m_Id": "a2fae08129a94733bb74549349cdff6d"        }    ],    "synonyms": [],    "m_Precision": 0,    "m_PreviewExpanded": true,    "m_PreviewMode": 0,    "m_CustomColors": {        "m_SerializableColors": []    },    "m_Property": {        "m_Id": "cd2703af38ed41ca90e0ac549637e5f6"    }}{    "m_SGVersion": 0,    "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",    "m_ObjectId": "fb5ac210049e4589905ecc40588461a3",    "m_Id": 1,    "m_DisplayName": "Ambient",    "m_SlotType": 0,    "m_Hidden": false,    "m_ShaderOutputName": "Ambient",    "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"    ]}
 |