Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/assets/opensb/sky.config.patch
diff options
context:
space:
mode:
authorNiffe <petrovnik01@ukr.net>2024-03-01 00:03:19 +0200
committerNiffe <petrovnik01@ukr.net>2024-03-01 18:28:13 +0200
commit4b4013e5c8201276cf26c8c1e68ac62a8e9b7449 (patch)
tree816732f7cf1d70cdb021c1103877fe386495f101 /assets/opensb/sky.config.patch
parent3453819837f8f1bb1d439bb2df66386a9f35d80d (diff)
Dynamic sun image
Also adds access to sun scale, ray color, and fixes sun rendering in front of satellites
Diffstat (limited to 'assets/opensb/sky.config.patch')
-rw-r--r--assets/opensb/sky.config.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/assets/opensb/sky.config.patch b/assets/opensb/sky.config.patch
new file mode 100644
index 0000000..e9a7866
--- /dev/null
+++ b/assets/opensb/sky.config.patch
@@ -0,0 +1,23 @@
+{
+ "sun" : {
+ "rayColor" : [255, 255, 200],
+ "scale" : 0.7, // base scale, dynamic scaling aplies after it (sun image appears to have a higher scale in osb client?)
+ "dynamicImage" : {
+ "enabled" : true,
+ "images" : {
+ "whitestar" : "/sky/orbitals/whitestar.png",
+ "orangestar" : "/sky/orbitals/orangestar.png",
+ "yellowstar" : "/sky/orbitals/yellowstar.png",
+ "bluestar" : "/sky/orbitals/bluestar.png",
+ "redstar" : "/sky/orbitals/redstar.png"
+ },
+ "rayColors" : {
+ "whitestar" : [199, 245, 255],
+ "orangestar" : [255, 227, 199],
+ "yellowstar" : [245, 255, 199],
+ "bluestar" : [199, 199, 255],
+ "redstar" : [255, 213, 199]
+ }
+ }
+ }
+} \ No newline at end of file