unity-light

Create and configure Unity scene lights including Directional, Point, Spot, and Area types.

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-light-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-light
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/light
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-light-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up and tuning Unity scene lighting through the editor is repetitive, especially when configuring many lights at once. This Skill lets you create, configure, query, and batch-toggle Unity lights directly through natural language commands. ## Core Features & Use Cases - Light Creation & Configuration: Create Directional, Point, Spot, and Area lights with color, intensity, range, spot angle, and shadow settings. - Batch Operations: Configure or enable/disable multiple lights in a single call using light_set_properties_batch and light_set_enabled_batch. - Probes & Lightmaps: Add Light Probe Groups with grid layouts, create Reflection Probes, and inspect lightmap baking settings. - Use Case: When building a night scene, ask to create a warm directional moonlight, add several point lights for torches, then batch-dim all torches at once. ## Quick Start Create a soft-shadowed directional light named Sun with warm color and intensity 1.2 in my Unity scene.

Frequently Asked Questions about unity-light

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a light in Unity using a script or command?

Use the light_create skill with a lightType parameter of Directional, Point, Spot, or Area. You can set position, color, intensity, range, spot angle, and shadow type in one call, and it returns the new light's name and instanceId.

How to change intensity or color of multiple Unity lights at once?

Use light_set_properties_batch with a JSON array of items, each identifying a light by name, instanceId, or path plus the properties to change. This performs one batch call instead of separate calls per light.

What Unity light types should I use for different scenes?

Directional lights suit sun or moon illumination, Point lights fit localized sources like lamps, Spot lights work for focused beams like flashlights, and Area lights are baked-only for soft sources like windows.

Can I delete a light with this Unity light skill?

No, this module contains no delete operation. To remove a light, call gameobject_delete from the gameobject module on the light's GameObject.

Why do Unity Area lights not appear in real-time gameplay?

Area lights are baked-only and do not render in real time. They require lightmap baking, whose settings you can inspect with light_get_lightmap_settings.