The Atmosphere object pushes Roblox closer toward realistic environments where sunlight scatters in different ways depending on density and other air particle properties. It simulates real-world “aerial perspective” and lets you control light transmission from the background sky through distant objects. Furthermore, it controls haze and glare conditions, letting you tune a perfect sunset, foggy afternoon, and more.
Atmospheric settings rely on both a Sky and Atmosphere object located in the Lighting service. If these objects do not exist, insert them.
For each example, toggle between the tabs to compare the effect.
Atmosphere/Density|Density defines the amount of particles in the air. The higher the density, the more particles and the more in-game objects/terrain will be obscured by them. Note that density does not directly affect the articles/Custom Skyboxes|skybox — it merely affects in-game objects/terrain and visibility of the skybox through them.
Atmosphere/Offset|Offset controls how light transmits between the camera and the sky background. Increase this value to create a horizon silhouette against the sky or reduce it to blend distant objects into the sky for an endless and seamless open world.
Offset should be balanced against Atmosphere/Density|Density and carefully tested in your place. A low offset may cause "ghosting" where the skybox can be seen through objects/terrain. This can be corrected by increasing the offset, which more clearly silhouettes distant objects/terrain against the sky, but too much offset may reveal level-of-detail "popping" for far distant terrain and meshes.
Atmosphere/Haze|Haze defines the haziness of the atmosphere with a visible effect both above the horizon and into the distance. This can be combined with Atmosphere/Color|Color to create environmental moods, like a smoky tint for a polluted alien planet.
Atmosphere/Color|Color changes the atmosphere hue for subtle environmental moods. This is best combined with increased Atmosphere/Haze|Haze to expand the visible effect.
Atmosphere/Glare|Glare specifies the atmospheric glow/glare around the sun. More glare results in an increased effect of sunlight cast onto the sky and world.
Atmosphere/Glare|Glare must be combined with a Atmosphere/Haze|Haze level higher than 0 to see any effect.
Atmosphere/Decay|Decay defines the hue of the atmosphere away from the sun which moves across the sky based on Lighting/ClockTime|ClockTime or Lighting/TimeOfDay|TimeOfDay, gradually falling off from Atmosphere/Color|Color towards this value.
Atmosphere/Decay|Decay must be combined with Atmosphere/Haze|Haze and Atmosphere/Glare|Glare levels higher than 0 to see any effect.
The following combinations of Lighting, Sky, Atmosphere, and other properties/objects may be useful in creating a base setting for your game.
For each example, click on an object, such as Color Correction, to see property values that will achieve that specific effect. All property values which are not listed should be kept at their default values.