Visible Planets in Space

by Nauviax

Render the local planet behind platforms when in orbit. Now with parallax, rotation, and mod support!

Tweaks
5 days ago
2.0
17.8K
Environment

b Platform Shadow Visible on Planet

a month ago

I have a small bug: If you pan your camera to the right, so that the planet is underneath the right side of a platform, any structures on the right edge of the platform (such as cargo bays, assemblers, etc.) will cast a shadow that is sharp against the planet in the background. TBH I'm not sure if it's possible to do anything about it, cuz I remember one FFF a while back where they were talking about how difficult it was to work with the game's shadows, but it would be cool if those shadows would look normal. (I.E. not be on the planet behind)

a month ago

Oh that's a good catch. We fixed it for asteroids by just removing asteroid shadows altogether, but I can't exactly do that for every building.

I think I'll just have to add this to known issues for now; I don't have a good solution for this. Thanks for the report though.

a month ago

Oh I just noticed another thing. It feels wrong to zoom in and have the planet grow proportionally as large (screen-space-wise) as the platform. E.G.: If the camera was a long distance away from the platform, and you halve the distance by moving the camera closer, the platform will appear approx. twice as large; but moving the camera closer to the planet by the same distance only reduces the distance by a fraction of a percent, meaning that the planet shouldn't appear much, if any, larger.

a month ago

Yea those sorts of issues are mentioned a lot. I don't have a way to read camera zoom, so I can't account for the player zooming in and out.

a month ago

Actually scratch that, I DO have access to this. I'd need to find a way to avoid messing with the growing animation, but this is actually doable. This will probably be in the next update if I can get it to work.

a month ago

After three hours of coding, assuming that zoom was part of LuaPlayer.
I find that it's write only.
This is tragic.
Planets will have to stay the same size for now unfortunately.

This thread has been locked.