بنقرة واحدة
roblox-lighting
Lighting service, Atmosphere, post-processing (Bloom, ColorCorrection), day/night cycle.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Lighting service, Atmosphere, post-processing (Bloom, ColorCorrection), day/night cycle.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
SoundService, SoundGroup mixer, spatial audio, 3D positioned sound, music systems, SFX patterns.
3D builds via MCP, CSG operations, spatial coordination, Part properties, map design.
Luau type system: annotations, generics, narrowing, inference philosophy, sealed/unsealed tables, exports, and Roblox-aware typing.
Constraints, VehicleSeat, ragdoll, projectiles, Attachment patterns, network ownership.
Studio MCP server tools, execute_luau, script_read/multi_edit, reliability patterns, workflows.
| name | roblox-lighting |
| description | Lighting service, Atmosphere, post-processing (Bloom, ColorCorrection), day/night cycle. |
| last_reviewed | "2026-05-27T00:00:00.000Z" |
| sources | ["https://github.com/Roblox/creator-docs/blob/main/content/en-us/environment/lighting.md","https://github.com/Roblox/creator-docs/blob/main/content/en-us/environment/atmosphere.md","https://github.com/Roblox/creator-docs/blob/main/content/en-us/environment/post-processing-effects.md"] |
Use this skill when configuring lighting, atmosphere, time of day, post-processing effects, or creating visual mood for a game.
Lighting.ClockTime = 14 -- 0-24 numeric
Lighting.Brightness = 2 -- 0-10, default 2
Lighting.Ambient = Color3.fromRGB(70, 70, 70) -- shadow fill
Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
Lighting.GlobalShadows = true
Lighting.ShadowSoftness = 0.2 -- 0=sharp, 1=soft
Lighting.Technology = Enum.Technology.Future -- or ShadowMap for mobile
local atmo = Instance.new("Atmosphere")
atmo.Density = 0.3 -- 0=clear, 1=opaque (keep <0.5)
atmo.Offset = 0.25 -- 0=ground, 1=sky
atmo.Color = Color3.fromRGB(199, 199, 199) -- near fog
atmo.Decay = Color3.fromRGB(92, 92, 92) -- far/horizon
atmo.Glare = 0 -- 0-10
atmo.Haze = 0 -- 0-10
atmo.Parent = Lighting
| Effect | Key Properties |
|---|---|
BloomEffect | Intensity (0-1), Size (px), Threshold (>0.7 recommended) |
ColorCorrectionEffect | Brightness, Contrast, Saturation (-1 to 1), TintColor |
DepthOfFieldEffect | FarIntensity, FocusDistance, InFocusRadius, NearIntensity |
SunRaysEffect | Intensity (0-1), Spread (0-1) |
local CYCLE_SPEED = 1 -- minutes per full day
task.spawn(function()
while true do
Lighting.ClockTime += (task.wait() / 60) * (24 / CYCLE_SPEED)
if Lighting.ClockTime >= 24 then Lighting.ClockTime -= 24 end
end
end)
| Light | Use | Key Props |
|---|---|---|
PointLight | Lamps, torches | Range, Brightness, Color |
SpotLight | Flashlights | Range, Angle, Face |
SurfaceLight | Screens, panels | Range, Angle, Face |
Perf: Limit shadow-casting lights to 4-6 visible. Use Shadows=false on most. Neon material = cheap glow.
references/full.md