Files
Northbound/Assets/FlatKit/Demos/[Demo] Desert/Shaders/SubGraphs/Additional Lights.shadersubgraph
2026-01-25 11:27:33 +09:00

413 lines
9.4 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "4e8a19831b03423294c3f7a7f577be80",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "d63d4f0c0b1d469d9625f1c05a686d4d"
}
],
"m_Nodes": [
{
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
{
"m_Id": "a5dc5bea6ac84278927144bf2bf258eb"
},
{
"m_Id": "0aaba71da82f4fd18cf6c2246401cf17"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0aaba71da82f4fd18cf6c2246401cf17"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a5dc5bea6ac84278927144bf2bf258eb"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a5dc5bea6ac84278927144bf2bf258eb"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a5dc5bea6ac84278927144bf2bf258eb"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a5dc5bea6ac84278927144bf2bf258eb"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
"m_SlotId": 2
}
}
],
"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": "Dustyroom",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "0aaba71da82f4fd18cf6c2246401cf17",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -316.0,
"y": 0.0,
"width": 207.33331298828126,
"height": 134.66665649414063
}
},
"m_Slots": [
{
"m_Id": "127cd66c260b47d4819a13f756f925d3"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "127cd66c260b47d4819a13f756f925d3",
"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.Vector3MaterialSlot",
"m_ObjectId": "54b37e612ad144f49d4bbb605da2c257",
"m_Id": 4,
"m_DisplayName": "WorldPosition",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPosition",
"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": "5fcb1eacd05244c783e10005dbe6edbc",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "7379fd124ced4b5e8f47ddaeaf4767ae",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 239.99996948242188,
"y": -0.000003814697265625,
"width": 158.0,
"height": 149.0
}
},
"m_Slots": [
{
"m_Id": "c19b56e3ad724e989f7b494591bdf31e"
},
{
"m_Id": "cb03853987104e039b6c7bd5a31197ef"
},
{
"m_Id": "fa18295b747d4c2ea1ab59eecca1b253"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "8f9d195ca8de468babd5b4893908eaa8",
"m_Id": 2,
"m_DisplayName": "Attenuation",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Attenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9ecce5af3934454b804d4c0783ba2b81",
"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": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "a5dc5bea6ac84278927144bf2bf258eb",
"m_Group": {
"m_Id": ""
},
"m_Name": "AdditionalLights (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -77.0,
"y": 0.0,
"width": 279.5,
"height": 166.0
}
},
"m_Slots": [
{
"m_Id": "54b37e612ad144f49d4bbb605da2c257"
},
{
"m_Id": "9ecce5af3934454b804d4c0783ba2b81"
},
{
"m_Id": "5fcb1eacd05244c783e10005dbe6edbc"
},
{
"m_Id": "8f9d195ca8de468babd5b4893908eaa8"
}
],
"synonyms": [],
"m_Precision": 2,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "AdditionalLights",
"m_FunctionSource": "7bd28d79f5cf6469ca107acaade2ed3f",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c19b56e3ad724e989f7b494591bdf31e",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "cb03853987104e039b6c7bd5a31197ef",
"m_Id": 1,
"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.CategoryData",
"m_ObjectId": "d63d4f0c0b1d469d9625f1c05a686d4d",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fa18295b747d4c2ea1ab59eecca1b253",
"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": []
}