Help making atmospheric scattering or somthing close to it

im making a space game and i want to create a planet atmosphere effect like this


i tried alot of ways to make it such as particles,inverted meshes,messing with lighting,neon,forcefield and glass material.None of them worked out.
Any ideas to make this would help.Also im confused to put this on #help-and-feedback:building-support or #help-and-feedback:scripting-support cuz i dont mind making this either scripting or building.I appreciate any help u give.Thanks

1 Like

You would probably have better feedback in building support. Once you figure out how to make the atmosphere itself, and if you want to do something scripting related to te atmosphere (such as changing it over time), then scripting support would be the right place for that.

Although, now that I think about it, you could potentially make the effect in the player GUI instead of in Workspace. You would need to see where a planet is on the player’s screen and apply the effect via GUI on the client. You would probably need the effect updated via render step? so it’s always in line with the planet’s position on the player’s screen. However, that may be complicated to script. I would take another look at particles?

damn,it seems complicated.i hope there are other easy way. i dont really want to create it exactly like the real one tho,just something close enough

I think there are easier ways hopefully. When you say the atmosphere, do you mean the bright light towards the top of the planet? Or the cloudiness emitting from the planet? Or both? (Or something else entirely?)

probably need a mesh with an inverted texture for that or something. Or just have a transparent sphere that’s slightly larger than the planet.

im asking about how the light from the star behaved on the planet atmosphere and gives a cool effect

well yeah i tried some stuff with inverted meshes and it didnt work

Hmm, in that case, does the effect only occur when a star is slightly outside of the planet’s outline from the player’s point of view?

yeah i think thats how it works or smth
atmospheric scattering happens when light rays hit with particles in the planet atmosphere and color changes thats how sunset and sunrise shows as red sky and blue sky in the evening
example:Atmospheric Scattering (and also just faking it) - YouTube

the whole day i was trying and experimenting new things,couldnt get to work anything :sob:

i tried and the closest one was inverted sphere with foil material on it

Have you tried this?

how do you do that?
that seem good

Well spoiler alert, it’s not ideal:

Due to Roblox’s extreme lighting limitations, this can only be done at a micro-scale with Future as the lighting technology.

oh thats kinda sad,i wanted to be big scaled so a planet would be around 1000 studs from star

It’s technically possible to sort of fool people using fancy techniques with proxies and the like, but it really falls apart quickly when you fly near to the planet. It really is a shame. I’m not sure if there’s a solution for this sort of thing.

What you could potentially do is make the player’s characters very small and slow down the character’s walk speeds as well as star ship speeds. I know sometimes things act strangely when characters get very small but it could work.

just so you know this is my lighting setup


also with a bloom
with intesity 1,and size 56(depends on star luminosity and threshhold 0
with sky as rbxassetid://4504689679

The issue is that the planet in that screenshot is already like 0.1 or 0.01 studs. The moon is even smaller. So that’s not exactly an option unfortunately.

1 Like

yes still that needs to be 1000 studs i tried even with smallest possible character which is 0.6 size of the whole character

1 Like