Glorpia Docs
Services

Lighting

Controls scene lighting, time of day and world post-processing effects.

Access

Luau
local Lighting = game:GetService("Lighting")

Properties

NameTypeDescription
BrightnessnumberRead/write brightness. Values are clamped from 0 to 10.
ClockTimenumberRead/write hour value. Values wrap around a 24-hour day.
TimeOfDaystringRead/write HH:MM or HH:MM:SS time text.

Children and post-processing

Lighting can contain ordinary replicated Instances. BlurEffect and ColourCorrection become active post-processing effects when they are direct children of Lighting. ColorCorrection and ColorCorrectionEffect are accepted American-spelling aliases for ColourCorrection.

Post-processing is applied to the rendered 3D scene, including BillboardGui and SurfaceGui when AlwaysOnTop is false. ScreenGui and world GUI with AlwaysOnTop = true are composited afterward, so they remain sharp and bypass BlurEffect and ColourCorrection. Authored children placed under Lighting are saved with the place. Parts below Lighting remain in the hierarchy but are not rendered or simulated because world rendering and physics require Workspace ancestry.

Studio Properties

Studio's Properties panel shows TimeOfDay as an HH:MM:SS text box. ClockTime is the numeric 0-24 hour control with a slider and number field. Editing either property updates the same scene time.

The Explorer Insert menu has a dedicated Lighting category for BlurEffect and ColourCorrection.

Example: Create An Evening Scene

Luau
local Lighting = game:GetService("Lighting")

Lighting.Brightness = 2.5
Lighting.TimeOfDay = "18:30:00"
Reading TimeOfDay returns a zero-padded HH:MM:SS string.

Related effects