I’ve been playing around with a twinstick shooter idea where you can fly around planets in a solar system and I wanted the atmosphere on those planets to properly fade to night without simply using gradient color or a texture. So I made a material that uses an atmospheric scattering algorithm to calculate the sky gradient properly.
I think I will polish it up further, make a sample map and put this material up on the marketplace. Maybe make a planet and star blueprint example too.
oh my gosh, this looks amazing. Is there anyway I could convince you to do a tutorial on this? I’ve been messing around with space scenes for an intro video but the atmospheres are just beyond me. Anyway, This looks really good. I love the scale and how it adjusts on the fly.
The planets is a circle. I am currently using a spline mesh curved around the radius. The camera is aligned to have it’s down vector always aligned with the gravity vector so moving the ship left and right will move you along the surface.
Gravity is done with a custom physics volume.
I wanted the illusion of moving on a flat plane but in reality you are going around the planet. When you leave the planet’s gravity the camera flips back to the solar system’s up direction.
Really nice work as always Handkor! I read that article a few months back as well. It’s something I have thought about for a more realistic sky but most likely won’t get around to creating it any time soon (if at all), too busy atm.
Good to see you getting back into it again! look forward to seeing this on the marketplace.