261 lines
6.0 KiB
Plaintext
261 lines
6.0 KiB
Plaintext
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "42391d982ddd487091a55bd53f5bd0ae",
|
|
"m_Properties": [],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "075c0e8f737541b18fc287b36ec11c37"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "44ef1e366527402a9db02ed15c57d773"
|
|
},
|
|
{
|
|
"m_Id": "b15f275c6eb441fdb43ee1dc42c6d0a4"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "b15f275c6eb441fdb43ee1dc42c6d0a4"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "44ef1e366527402a9db02ed15c57d773"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "b15f275c6eb441fdb43ee1dc42c6d0a4"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "44ef1e366527402a9db02ed15c57d773"
|
|
},
|
|
"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": "Sub Graphs",
|
|
"m_GraphPrecision": 0,
|
|
"m_PreviewMode": 2,
|
|
"m_OutputNode": {
|
|
"m_Id": "44ef1e366527402a9db02ed15c57d773"
|
|
},
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "023aeabb72a943bf99748d683fdf1172",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "MoonDirection",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "MoonDirection",
|
|
"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.CategoryData",
|
|
"m_ObjectId": "075c0e8f737541b18fc287b36ec11c37",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
|
"m_ObjectId": "44ef1e366527402a9db02ed15c57d773",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Output",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": 179.19998168945313,
|
|
"y": -47.20001220703125,
|
|
"width": 86.39996337890625,
|
|
"height": 76.79998779296875
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "7f48658f524d49a8844fcfe5c431709e"
|
|
},
|
|
{
|
|
"m_Id": "023aeabb72a943bf99748d683fdf1172"
|
|
}
|
|
],
|
|
"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": "57e16735c80842308acaf08ab0afaac4",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "MoonDirection",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "MoonDirection",
|
|
"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": "7f48658f524d49a8844fcfe5c431709e",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "SunDirection",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "SunDirection",
|
|
"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": "b15f275c6eb441fdb43ee1dc42c6d0a4",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "GetSkyboxLights (Custom Function)",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -119.0,
|
|
"y": -47.0,
|
|
"width": 252.0,
|
|
"height": 118.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "cb9f450f37f4475394d6318926df88a1"
|
|
},
|
|
{
|
|
"m_Id": "57e16735c80842308acaf08ab0afaac4"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"code",
|
|
"HLSL"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SourceType": 0,
|
|
"m_FunctionName": "GetSkyboxLights",
|
|
"m_FunctionSource": "83accacb37d6cd64d8c9e5cd2533a04d",
|
|
"m_FunctionBody": "Out = float3(0,0,0);\n#ifndef _WorldSpaceLightPos0\nfloat3 _WorldSpaceLightPos0;\nOut = _WorldSpaceLightPos0;\n#else\nOut = _WorldSpaceLightPos0;\n#endif\n"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "cb9f450f37f4475394d6318926df88a1",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "SunDirection",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "SunDirection",
|
|
"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": []
|
|
}
|
|
|