agentsclimarketplace

Roblox lighting

Skill TabooHarmony/roblox-brain/skills/roblox-lighting

Give your AI coding agent a Roblox brain. Curated skills for Roblox Studio development.

Install
npx -y skills add TabooHarmony/roblox-brain --skill roblox-lighting

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 18 stars18 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use for Roblox lighting, atmosphere, day/night, or post-processing effects.

SKILL.md

2.9 KB, as published. Nobody here has run it

Roblox Lighting & Atmosphere

When to Load

Load for Roblox lighting, atmosphere, day/night, or post-processing (Bloom, ColorCorrection, DepthOfField).

Quick Reference

Lighting Service

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
-- Current Studio uses LightingStyle and PrioritizeLightingQuality instead of Technology.
-- Verify enum values and device behavior against current Creator Hub docs before setting them.

Atmosphere

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

Post-Processing (all parented to Lighting)

EffectKey Properties
BloomEffectIntensity (0-1), Size (px), Threshold (>0.7 recommended)
ColorCorrectionEffectBrightness, Contrast, Saturation (-1 to 1), TintColor
DepthOfFieldEffectFarIntensity, FocusDistance, InFocusRadius, NearIntensity
SunRaysEffectIntensity (0-1), Spread (0-1)

Day/Night Cycle

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)

Local Lights

LightUseKey Props
PointLightLamps, torchesRange, Brightness, Color
SpotLightFlashlightsRange, Angle, Face
SurfaceLightScreens, panelsRange, Angle, Face

Perf: Limit shadow-casting lights to 4-6 visible. Use Shadows=false on most. Neon material = cheap glow.

MCP: Inspect, change minimally, capture, check performance.

Common Pitfalls

  • Brightness >3 washes out. Density >0.5 = soup. Max 2-3 post effects.
  • Ambient should not be black. Use LightingStyle/PrioritizeLightingQuality; never set deprecated Technology.

References

  • Mood presets (Day, Golden Hour, Night, Horror, Underwater, Sci-Fi), zone tweens, full examples: references/full.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.