OldBlueWater/BlueWater/Assets/Quibli/Shaders/Subgraphs/Main Light.shadersubgraph
2023-08-02 18:12:26 +09:00

461 lines
10 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "4e8a19831b03423294c3f7a7f577be80",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "67301c59e7094e63bba7a51eaba30f0b"
}
],
"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_OutputSlot": {
"m_Node": {
"m_Id": "a5dc5bea6ac84278927144bf2bf258eb"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
"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": "Quibli",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "7379fd124ced4b5e8f47ddaeaf4767ae"
},
"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": -283.0,
"y": 0.0,
"width": 206.0,
"height": 131.0
}
},
"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.Vector1MaterialSlot",
"m_ObjectId": "18b6e2d24b6c4080bfa4bd0ca3e74b2d",
"m_Id": 2,
"m_DisplayName": "DistanceAttenuation",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "DistanceAttenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "320fd934675444df9dc3f4ffda01c8b7",
"m_Id": 3,
"m_DisplayName": "ShadowAttenuation",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAttenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 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.CategoryData",
"m_ObjectId": "67301c59e7094e63bba7a51eaba30f0b",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7094c59186a84f97b202a1c658de3738",
"m_Id": 3,
"m_DisplayName": "ShadowAttenuation",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAttenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 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": 200.0,
"y": 0.0,
"width": 85.0,
"height": 45.0
}
},
"m_Slots": [
{
"m_Id": "c19b56e3ad724e989f7b494591bdf31e"
},
{
"m_Id": "cb03853987104e039b6c7bd5a31197ef"
},
{
"m_Id": "18b6e2d24b6c4080bfa4bd0ca3e74b2d"
},
{
"m_Id": "7094c59186a84f97b202a1c658de3738"
}
],
"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.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": "MainLight (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -77.0,
"y": 0.0,
"width": 209.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "54b37e612ad144f49d4bbb605da2c257"
},
{
"m_Id": "9ecce5af3934454b804d4c0783ba2b81"
},
{
"m_Id": "5fcb1eacd05244c783e10005dbe6edbc"
},
{
"m_Id": "cef018e43ea04308805f3f6445b0d809"
},
{
"m_Id": "320fd934675444df9dc3f4ffda01c8b7"
}
],
"synonyms": [],
"m_Precision": 2,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MainLight",
"m_FunctionSource": "f9bb98ce947be449ab445810ed5d1454",
"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.Vector1MaterialSlot",
"m_ObjectId": "cef018e43ea04308805f3f6445b0d809",
"m_Id": 2,
"m_DisplayName": "DistanceAttenuation",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "DistanceAttenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}