P0-MS4: Part 268: New Atmosphere/Clouds System
by PhoenixGames on Nov.05, 2017, under Astral Realms, P-0, Software and Games, Spiritus Astrum
I found some sample code HERE on github which I have been modifying to add the gradient to the skybox. It seems to work well, and it includes an “upvector” parameter, so the orientation of the gradient can be changed at run time, this is vital for my project. The particular code file I used is HERE.
I can now blend properly between the starfield and a two-colour gradient skybox. I can also add and remove stars and clouds depending on the players altitude.
The system is now basically working, I just need to add the ability to change the colours depending what type of planet the user is landing on. I also need to properly test the system, since I made extensive changes to the project while working on this.