Files
beyond/Assets/ThirdParty/OccaSoftware/Altos/Shaders/Subgraphs/Celestial Body Position.shadersubgraph
2024-11-20 15:21:28 +01:00

886 lines
19 KiB
Plaintext

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "cc822e7bd8434debb47007bd790bfa1b",
"m_Properties": [
{
"m_Id": "f8b1a8f026b1998287340c67182ac0c1"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "313dda1063f7498b969f888230350bc5"
},
{
"m_Id": "09009dadbbbff98eb4fea261e5e959be"
},
{
"m_Id": "df75c9b17cf2608fbb812a958996c111"
},
{
"m_Id": "4a9fbe5c111ecf8bb149902adb146339"
},
{
"m_Id": "355cd92842182e81b54ddf67de5faf15"
},
{
"m_Id": "5fcc2f5387d98c879c78292afee7efcd"
},
{
"m_Id": "e0bcaccdac043486b0b70e8351a82331"
},
{
"m_Id": "d02a610ab0afb7809e3554b3694942fc"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "09009dadbbbff98eb4fea261e5e959be"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4a9fbe5c111ecf8bb149902adb146339"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "355cd92842182e81b54ddf67de5faf15"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4a9fbe5c111ecf8bb149902adb146339"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4a9fbe5c111ecf8bb149902adb146339"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "df75c9b17cf2608fbb812a958996c111"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5fcc2f5387d98c879c78292afee7efcd"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "09009dadbbbff98eb4fea261e5e959be"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d02a610ab0afb7809e3554b3694942fc"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "df75c9b17cf2608fbb812a958996c111"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "df75c9b17cf2608fbb812a958996c111"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "313dda1063f7498b969f888230350bc5"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e0bcaccdac043486b0b70e8351a82331"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d02a610ab0afb7809e3554b3694942fc"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 251.0,
"y": -133.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 251.0,
"y": 67.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "313dda1063f7498b969f888230350bc5"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalizeNode",
"m_ObjectId": "09009dadbbbff98eb4fea261e5e959be",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -227.0,
"y": -32.0,
"width": 139.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "844f9d5f9db7ee83a54495618670333a"
},
{
"m_Id": "efb6cf7094804e89980e997d8e3ddb5d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "09a0bbba2b89168abf34e238d682b5ef",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "16298ab2d07fd38f91dc53a0dbf314f6",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "16b7d77e66b89d8c8326d4f7bc01cf56",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.Vector1MaterialSlot",
"m_ObjectId": "1a984513030d598c87841078be2ec818",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "313dda1063f7498b969f888230350bc5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector1",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 251.0,
"y": -133.0,
"width": 138.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "8e23cec11a15e688ab97e6e00700a9e1"
}
],
"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": "315afe0614e92380b1dcd162fa269c37",
"m_Id": 1,
"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.Vector1Node",
"m_ObjectId": "355cd92842182e81b54ddf67de5faf15",
"m_Group": {
"m_Id": ""
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -227.0,
"y": 62.0,
"width": 135.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "b699684831abbc8fa62b34f5cc0f0119"
},
{
"m_Id": "1a984513030d598c87841078be2ec818"
}
],
"synonyms": [
"Vector 1"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "4a9fbe5c111ecf8bb149902adb146339",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -68.5,
"y": -32.5,
"width": 137.00001525878907,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "f9aa2d0ce7f86684b868960f3f5a7c56"
},
{
"m_Id": "67442a8ca509b286a4494cd67d5a6f2c"
},
{
"m_Id": "09a0bbba2b89168abf34e238d682b5ef"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5fcc2f5387d98c879c78292afee7efcd",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -470.0,
"y": 8.0,
"width": 229.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "bf7991a5cd8eed8181010aff6bca0899"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f8b1a8f026b1998287340c67182ac0c1"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "67442a8ca509b286a4494cd67d5a6f2c",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "844f9d5f9db7ee83a54495618670333a",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.Vector1MaterialSlot",
"m_ObjectId": "8d62f8e5f0a6f4808f2b77fa0cfbc0ef",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "8de52ab3f67a7889b0688faa241bf43d",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8e23cec11a15e688ab97e6e00700a9e1",
"m_Id": 1,
"m_DisplayName": "Distance",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Distance",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b354afd8e7e18c8dbff4c757ba44de81",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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.Vector1MaterialSlot",
"m_ObjectId": "b699684831abbc8fa62b34f5cc0f0119",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": -1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "bf7991a5cd8eed8181010aff6bca0899",
"m_Id": 0,
"m_DisplayName": "Direction of Celestial Body",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalizeNode",
"m_ObjectId": "d02a610ab0afb7809e3554b3694942fc",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -71.0,
"y": -202.0,
"width": 139.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "16b7d77e66b89d8c8326d4f7bc01cf56"
},
{
"m_Id": "315afe0614e92380b1dcd162fa269c37"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DistanceNode",
"m_ObjectId": "df75c9b17cf2608fbb812a958996c111",
"m_Group": {
"m_Id": ""
},
"m_Name": "Distance",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 91.50003051757813,
"y": -133.5,
"width": 137.00001525878907,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "16298ab2d07fd38f91dc53a0dbf314f6"
},
{
"m_Id": "b354afd8e7e18c8dbff4c757ba44de81"
},
{
"m_Id": "8d62f8e5f0a6f4808f2b77fa0cfbc0ef"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "e0bcaccdac043486b0b70e8351a82331",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -296.0,
"y": -202.0,
"width": 206.0,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "8de52ab3f67a7889b0688faa241bf43d"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 4
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "efb6cf7094804e89980e997d8e3ddb5d",
"m_Id": 1,
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "f8b1a8f026b1998287340c67182ac0c1",
"m_Guid": {
"m_GuidSerialized": "2e87e3e4-8773-4c61-8944-c4cb870dd196"
},
"m_Name": "Direction of Celestial Body",
"m_DefaultReferenceName": "Vector3_35538EA9",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.5,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "f9aa2d0ce7f86684b868960f3f5a7c56",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}