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.
Setup
Atmospheric settings rely on both a Sky and Atmosphere object located in the Lighting service. If these objects do not exist, insert them.
Atmosphere Properties
Density
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.
Haze
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.
Decay
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.
Example Atmospheres
The following combinations of Lighting, Sky, Atmosphere, and other properties/objects may be useful in creating a base setting for your game.
Note that the properties for each object are changes to the defaults. If these objects exist in your game and have already been modified, you may need to delete/recreate them to achieve the following atmospheres.
This Platform uses cookies to offer you a better experience, to personalize content, to provide social media features and to analyse the traffic on our site. For further information, including information on how to prevent or manage the use of cookies on this Platform, please refer to our Privacy and Cookie Policy.