Atmosphere
Atmosphere : Instance
Overview
The Atmosphere object utilizes particle density, fog, and color to create realistic atmospheric effects
Properties
AirColor
Color3
Adjusts the overall tint of the atmosphere.
Code Samples
local Lighting = game:GetService("Lighting")
local Atmosphere = Lighting:WaitForChild("Atmosphere")
Atmosphere.AirColor = Color3.fromRGB(255, 0, 0)CloudAmount
number
Adjusts the amount and density of clouds.
Code Samples
CloudSpeed
number
Sets the speed at which clouds move. Useful for simulating strong winds or slow drifting skies.
Code Samples
CloudTexture
string
Specifies the cloud texture. Used to define the shape, texture, and density of the clouds.
Code Samples
Color
Color3
Sets the overall tint filter for the atmosphere.
Code Samples
Density
number
Sets the density of particles in the atmosphere. Higher values result in stronger atmospheric effects.
Code Samples
FogColor
Color3
Sets the color of the fog. Can be adjusted to match the mood or time of day.
Code Samples
FogDensity
number
Sets the density of the fog. Higher values result in heavier, more obscured visibility.
Code Samples
FogFalloff
number
Adjusts how quickly the fog fades over distance. Lower values cause a gradual fade, while higher values make the fog dissipate more abruptly.
Code Samples
FogFalloffClear
number
Specifies the distance from the camera at which fog attenuation begins and clears.
Code Samples
FogHorizon
boolean
When enabled, the skybox is excluded from the fog effect.
Code Samples
FogStart
number
Specifies the distance from the camera at which the fog begins.
Code Samples
GlareColor
Color3
Specifies the atmospheric scattering color of sunlight or moonlight.
Code Samples
GlareFalloff
number
Controls the intensity of sunlight or moonlight scattering in the atmosphere.
Code Samples
HazeColor
Color3
Specifies the color of light scattering caused by particles in the atmosphere.
Code Samples
HazeSpread
number
Adjusts the intensity of light scattering caused by particles in the atmosphere.
Code Samples
StartDistance
number
Specifies the distance from the camera at which the atmosphere effect begins.
Code Samples
Methods
Events
See also
LightingLast updated