Atmosphere
The Atmosphere object pushes Roblox closer toward realistic environments where sunlight scatters in different ways depending on density and other air particle properties.
Memory category | Instances |
---|
Member index 6
Description
Fog properties are hidden when Lighting contains an Atmosphere object.
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.
See also:
- Atmospheric Effects for property comparisons and example environments.
- Skybox for how to change the default skybox for games and customize the lighting.
- Post-Processing Effects for how post-processing effects can quickly improve a game's visuals with a variety of customizable filters.
History 33
- 553 Change Default of Offset from to 0
- 553 Change Default of Haze from to 0
- 553 Change Default of Glare from to 0
- 553 Change Default of Density from to 0.395000011
- 553 Change Default of Decay from to Color3(0.3608, 0.2353, 0.0549)
- 553 Change Default of Color from to Color3(0.7843, 0.6667, 0.4235)
- 486 Change ThreadSafety of Offset from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Haze from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Glare from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Density from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Decay from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Color from ReadOnly to ReadSafe
- 462 Change ThreadSafety of Offset from to ReadOnly
- 462 Change ThreadSafety of Haze from to ReadOnly
- 462 Change ThreadSafety of Glare from to ReadOnly
- 462 Change ThreadSafety of Density from to ReadOnly
- 462 Change ThreadSafety of Decay from to ReadOnly
- 462 Change ThreadSafety of Color from to ReadOnly
- 429 Add Offset
- 429 Add Haze
- 429 Add Glare
- 429 Add Density
- 429 Add Decay
- 429 Add Color
- 429 Add Atmosphere
- 428 Remove Atmosphere
- 429 Add Offset
- 429 Add Haze
- 429 Add Glare
- 429 Add Density
- 429 Add Decay
- 429 Add Color
- 429 Add Atmosphere
Members 6
Color
Type | Default | |
---|---|---|
Color3 | 0.7843, 0.6667, 0.4235 |
A Color3 value which changes the Atmosphere hue for subtle environmental moods. This is best combined with increased Atmosphere.Haze to expand the visible effect.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
Decay
Type | Default | |
---|---|---|
Color3 | 0.3608, 0.2353, 0.0549 |
Defines the hue of the Atmosphere away from the sun, gradually falling off from Atmosphere.Color towards this value. Must be used with Atmosphere.Haze and Atmosphere.Glare levels higher than 0 to see any effect.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
Density
Type | Default | |
---|---|---|
float | 0.395000011 |
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 skybox — it merely affects in-game objects/terrain and visibility of the skybox through them.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
Glare
Type | Default | |
---|---|---|
float | 0 |
Specifies the glow/glare of the Atmosphere around the sun. More glare results in an increased effect of sunlight cast onto the sky and world. Must be used with a Atmosphere.Haze level higher than 0 to see any effect.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
Haze
Type | Default | |
---|---|---|
float | 0 |
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 to create environmental moods, like a grey tint for a polluted alien planet.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
Offset
Type | Default | |
---|---|---|
float | 0 |
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 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.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |