Is it possible to code a planetary atmosphere?

I am wondering about the feasibility of coding planetary atmosphere on Roblox, and how I would generally even attempt at approaching this problem.

Example of what I am trying to replicate:

I have seen games like Ascent that have atmospheres, but I am not sure if games like that are using some other method.
I do not know how Ascent - Roblox made a working spherical atmosphere.

Is it also possible for the atmosphere to be curved and wrap around a planet?

1 Like

I believe trying to replicate the video you reference is simply impossible since the video relies on scripting the shader which is not possible in roblox.

Though maybe you could use something like an inverted mesh around a planet to simulate atmosphere, but I haven’t tried that yet

1 Like

I have tried that, but the results are a bit underwhelming

1 Like

Sorry to bump an old topic, but something that looks like this visually is feasible.

something like this is possible, just not in the way you think. It’s a bit hacky. You can use editable images to pre-calculate the atmosphere, which can yield beautiful results and have pretty good rendering without having a fancy shader system (which you can’t do)

I made something similar, you can take a look in my own topic:
look in replies to view the atmosphere section

3 Likes

your result looks quite amazing! Editable images are pretty nice and have opened up alot of things, and I have now been able to do alot of things because of it that I haven’t been able to do before. Thanks for the reply!!!

1 Like