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
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
FogStart
number
Specifies the distance from the camera at which the fog begins.
Code Samples
Methods
Events
See also
LightingLast updated