[Save Our Ship 2] No Planet Render
Simple mod that removes the Save Our Ship 2 planet rendering overtop the vacuum tiles and instead replaces it with the vacuum tile's loaded terrain texture. This mod gives vacuum tiles the space texture that is relatively similar to what is shown on the world screen.
I use Camera+ and I found it annoying that the planet rendering borks itself after reloading the save, therefore I went for the brute solution and I outright prevented the rendering on the vacuum tiles. SoS2 might use this solution at some point, but I got impatient and made this for myself and others to use, in case anyone else is looking for a solution.
May also be a (negligible) optimization improvement if you're lagging in space even without dynamic planet rendering enabled.
Load order doesn't matter, since it is a single harmony patch. All you need is SoS2 in your modlist.
Q/A:
- Why are there shadows in space?
There were always shadows in that mod's space! You probably didn't notice them until I made vacuum a terrain texture, and you can see shadows casting more easily. Sadly I can't think of anything I can do to fix this.
- Why isn't space seamless/camera zoom independent? It feels like this space is a ground texture (related to previous question).
Yeah, yeah, I know, that's the cost of using TerrainDef's material. I guess you could say there are just billions of stars that you see when you pan around, at different angles. I tried to make a custom renderer to make space seamless (similarly to SoS2), but I couldn't do it. Maybe somebody else can pick up that idea.
- This doesn't make a whole lot of sense though. The planet should be rendered below you...?
Well, you could think of it this way in terms of immersion: the camera pointing towards your ship (and others/other sites) is facing away from the planet.
- Where [insert version number]?
I'll get around adding backwards compatibility. Just need to switch versions to test the mod out on previous iterations of SoS2. It [i]might[/i] work on previous versions, assuming the submesh draw method never changed across 3 versions.
- Where's the source of this mod?
I don't think it's big enough to open a github page for. Maybe I'll do it later though, or in case somebody asks. You can look in the source yourself using an assembly peeking software (I use DnSpy).
Reference links:
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=1909914131]Save Our Ship 2[/url]
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=867467808]Camera+[/url]
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]HugsLib[/url]