Height-based atmosphere?

I’m curious if there’s a way to add a height-based volumetric fog. I’d like to make one that’s more like a rolling fog at high altitudes, less like an atmospheric fog. Does anyone know how I might be able to achieve this?

3 Likes

Unless you code it yourself, there is currently no instance or api that allows you to do this easily.

You could script a particle emitter to emit fog particles from a far distance and as the player gets close to it, it gets replaced by the Fog instance in game.Lighting

I was referring to something more like this. Volumetric fog particles. || Roblox studio - YouTube It’s a volumetric fog that uses particles. Any idea how to replicate something like this?

2 Likes

Although this is possible, it would cause a lot of lag and require a lot of calculations. Also most likely will have problems with rendering if any transparent material is introduced, especially glass, since it’s shader currently improperly draws transparent parts behind it.

Alright, do you know if there is any other way to make something similar without it lagging?

2 Likes

The Mansion of Wonder template in studio has a fog you can use… in case you don’t want to search for it, I will attach it here. You can manipulate it to your liking.
Fog.rbxm (3.9 KB)

This is just a particle emitter, but I suppose something like this mixed with the fog in game.lighting is probably the best I can get that’s similar.

2 Likes