---
title: "Lighting"
description: "Controls scene lighting, time of day and world post-processing effects."
canonical: "https://docs.glorpia.com/services/lighting"
markdown: "https://docs.glorpia.com/services/lighting.md"
---
# Lighting

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

**Category:** Services

## Access

```luau
local Lighting = game:GetService("Lighting")
```

## Properties

| Name | Type | Description |
| --- | --- | --- |
| `Brightness` | number | Read/write brightness. Values are clamped from 0 to 10. |
| `ClockTime` | number | Read/write hour value. Values wrap around a 24-hour day. |
| `TimeOfDay` | string | Read/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"
```

> **Note:** Reading `TimeOfDay` returns a zero-padded `HH:MM:SS` string.

## Related effects

- [BlurEffect](https://docs.glorpia.com/instances/blureffect.md) — Full-resolution Gaussian blur for the 3D scene and depth-tested world GUI.
- [ColourCorrection](https://docs.glorpia.com/instances/colourcorrection.md) — Adjusts world brightness, contrast, saturation and tint.
