diff --git a/Assets/AtmosphericEntryBookmarks.json b/Assets/AtmosphericEntryBookmarks.json new file mode 100644 index 0000000..5e0aa82 --- /dev/null +++ b/Assets/AtmosphericEntryBookmarks.json @@ -0,0 +1,212 @@ +[ + { + "Type": "Orbit", + "BookmarkName": "Kerbin Low Orbit Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Kerbin", + "inclination": 0.0, + "eccentricity": 0.07462686567164178, + "semiMajorAxis": 670000.0, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": 4.36926878648072, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Kerbin Interplanetary Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Kerbin", + "inclination": 0.0, + "eccentricity": 1.3950050968399583, + "semiMajorAxis": -1569600.0000000037, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -0.10335823505470454, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Duna Low Orbit Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Duna", + "inclination": 0.0, + "eccentricity": 0.10810810810810811, + "semiMajorAxis": 370000.0, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -2.0007707344164998, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Duna Interplanetary Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Duna", + "inclination": 0.0, + "eccentricity": 2.0950241664774536, + "semiMajorAxis": -301363.2119750981, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -0.5022200631786002, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Eve Low Orbit Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Eve", + "inclination": 0.0, + "eccentricity": 0.07006369426751585, + "semiMajorAxis": 785000.0, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": 4.302934525086788, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Eve Interplanetary Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Eve", + "inclination": 0.0, + "eccentricity": 1.558327290797091, + "semiMajorAxis": -1307476.8366737398, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -0.16163434722945197, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Laythe Low Orbit Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Laythe", + "inclination": 0.0, + "eccentricity": 0.06787330316742081, + "semiMajorAxis": 552500.0, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": 4.28690026605933, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Laythe Interplanetary Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Laythe", + "inclination": 0.0, + "eccentricity": 1.8504587029235084, + "semiMajorAxis": -605555.5645790363, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -0.27479921565053084, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Jool Low Orbit Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Jool", + "inclination": 0.0, + "eccentricity": 0.017059301380991064, + "semiMajorAxis": 6155000.0, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -2.224928190193952, + "epoch": 0.0 + } + }, + { + "Type": "Orbit", + "BookmarkName": "Jool Interplanetary Entry", + "State": { + "ReferenceBodyGuid": null, + "Altitude": 0.0, + "Latitude": 0.0, + "Longitude": 0.0, + "VerticalSpeed": 0.0 + }, + "OrbitState": { + "referenceBodyGuid": "Jool", + "inclination": 0.0, + "eccentricity": 1.5353451613510853, + "semiMajorAxis": -11301120.168399807, + "longitudeOfAscendingNode": 0.0, + "argumentOfPeriapsis": 0.0, + "meanAnomalyAtEpoch": -0.07557912193533675, + "epoch": 0.0 + } + } +] diff --git a/Assets/AtmosphericEntryBookmarks.json.meta b/Assets/AtmosphericEntryBookmarks.json.meta new file mode 100644 index 0000000..e914d69 --- /dev/null +++ b/Assets/AtmosphericEntryBookmarks.json.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 51bfbe9b2a1247a9a88db6bd0be49306 +timeCreated: 1777550400 diff --git a/Assets/Shaders/CelestialBody_Local_Overlay.shader b/Assets/Shaders/CelestialBody_Local_Overlay.shader index 8e88416..e0f8a31 100644 --- a/Assets/Shaders/CelestialBody_Local_Overlay.shader +++ b/Assets/Shaders/CelestialBody_Local_Overlay.shader @@ -21,6 +21,8 @@ #include "UnityCG.cginc" #include "QuadMeshDataBuffer.hlsl" + #pragma multi_compile_local __ _USE_PQS_BUFFER + struct v2f { float2 uv : TEXCOORD0; diff --git a/Assets/Shaders/QuadMeshDataBuffer.hlsl b/Assets/Shaders/QuadMeshDataBuffer.hlsl index e03ffde..6f24c7e 100644 --- a/Assets/Shaders/QuadMeshDataBuffer.hlsl +++ b/Assets/Shaders/QuadMeshDataBuffer.hlsl @@ -1,8 +1,6 @@ #ifndef _QUADMESHDATA #define _QUADMESHDATA -#pragma multi_compile_local _USE_PQS_BUFFER - struct QuadMeshData { float3 position; @@ -22,7 +20,7 @@ struct appdata }; #if _USE_PQS_BUFFER -Buffer VisibleQuadMeshIndices; +StructuredBuffer VisibleQuadMeshIndices; StructuredBuffer QuadMeshDataBuffer; #endif