GQ_Communicate/GQ_VR/Assets/GameAssets/URP_ShaderGraphCustomLighti.../SubGraphs/Main Light.shadersubgraph

327 lines
7.2 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "c74005a6471a43bfbba1a72bd79a3a70",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "ea839da0743e41379af3acae1158e7eb"
}
],
"m_Nodes": [
{
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
{
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3be2118d2270ff818ec5f0f1353e249f"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0f043bb7e9b9d1849a740f31c19b79a8"
},
"m_SlotId": 3
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 259.0,
"y": -74.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 259.0,
"y": 126.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": "0f043bb7e9b9d1849a740f31c19b79a8"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "0f043bb7e9b9d1849a740f31c19b79a8",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector1",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 239.0,
"y": -74.0,
"width": 127.0,
"height": 125.0
}
},
"m_Slots": [
{
"m_Id": "a0d02e573b3ba68fa9f13362f0e6255f"
},
{
"m_Id": "bd707ec20be29181868244301b2ba07f"
},
{
"m_Id": "a709bcfbde214756bfb88dccd590d8f4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "3be2118d2270ff818ec5f0f1353e249f",
"m_Group": {
"m_Id": ""
},
"m_Name": "MainLight (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 28.0,
"y": -74.0,
"width": 208.0,
"height": 326.0
}
},
"m_Slots": [
{
"m_Id": "6a81d3d5075bf688be4c962ee8f2e01b"
},
{
"m_Id": "4a6dd49c99fb4d8088e5738f060aecf6"
},
{
"m_Id": "92a421c8566b451bbf9906125a90f7c0"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MainLight",
"m_FunctionSource": "5c09ec492074d214fbe1a19781ad15e8",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "4a6dd49c99fb4d8088e5738f060aecf6",
"m_Id": 2,
"m_DisplayName": "Colour",
"m_SlotType": 1,
"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": "6a81d3d5075bf688be4c962ee8f2e01b",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "92a421c8566b451bbf9906125a90f7c0",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "a0d02e573b3ba68fa9f13362f0e6255f",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a709bcfbde214756bfb88dccd590d8f4",
"m_Id": 3,
"m_DisplayName": "CullingMask",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "CullingMask",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "bd707ec20be29181868244301b2ba07f",
"m_Id": 2,
"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.CategoryData",
"m_ObjectId": "ea839da0743e41379af3acae1158e7eb",
"m_Name": "",
"m_ChildObjectList": []
}