3d-lighting

Configure 3D scene lighting, WorldEnvironment, sky, and shadows in Summer Engine scenes.

66|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/SummerEngine/summer --skill 3d-lighting-summerengine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 3d-lighting
Source: https://github.com/SummerEngine/summer/tree/main/library/skills/3d-lighting
Command: npx skills add https://github.com/SummerEngine/summer --skill 3d-lighting-summerengine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up believable 3D lighting in a game scene requires knowing which light types to use, how to configure WorldEnvironment and sky resources, and how to tune shadows and ambient light — this Skill encodes those conventions so scenes stop looking flat, too dark, or washed out. ## Core Features & Use Cases - Light Type Setup: Add and configure DirectionalLight3D (sun/moon), OmniLight3D (lamps, torches), and SpotLight3D (flashlights) with correct energy, color, range, and shadow properties via Summer MCP tools. - Environment & Sky Configuration: Set up WorldEnvironment with procedural sky, ambient light sources, and tonemapping through Environment sub-properties. - Baked & Real-Time GI Guidance: Distinguish what is scriptable — SDFGI, VoxelGI.bake(), and LightmapGI.bake() from the live editor — versus editor-only steps like occlusion baking, including headless-renderer caveats. - Use Case: A user says their outdoor scene looks flat; the Skill adds a warm DirectionalLight3D sun with shadows, a WorldEnvironment with a procedural sky, and a cool fill light, then verifies the result with a camera screenshot. ## Quick Start Ask the agent to add a sun light with shadows and a procedural sky to my 3D scene and fix the flat lighting.

Frequently Asked Questions about 3d-lighting

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

FAQPage Schema
How do I set up outdoor lighting in a 3D game scene?

Add a DirectionalLight3D as the sun with rotation around Vector3(-45, 30, 0), enable shadows, and set a warm color like Color(1, 0.95, 0.9, 1). Then add a WorldEnvironment with a procedural sky for ambient light, and optionally a weak fill light to soften shadows.

DirectionalLight3D vs OmniLight3D vs SpotLight3D — which should I use?

Use DirectionalLight3D for sun or moon as the primary outdoor light, OmniLight3D for point sources like lamps and torches with an omni_range, and SpotLight3D for focused beams like flashlights or stage lights with spot_range and spot_angle.

Can I bake lightmaps from a script in Summer Engine?

Yes. Summer binds LightmapGI.bake(from_node, image_data_path) to script, so you can call it via summer_run_script in the live editor. A pure headless process returns BAKE_ERROR_NO_LIGHTMAPPER because the GPU lightmapper needs a real renderer.

Why does my 3D scene look flat or too dark?

Flat scenes usually lack a key light with shadows or ambient environment light. Add a DirectionalLight3D with shadow_enabled set to true, configure a WorldEnvironment with a sky, and consider SDFGI via Environment.sdfgi_enabled for real-time global illumination without baking.

What lighting features cannot be automated from MCP tools?

OccluderInstance3D occlusion baking is editor-button only because bake_single_node is not script-callable. Real-time lights, WorldEnvironment, SDFGI, VoxelGI, and LightmapGI bakes are all scriptable, though LightmapGI needs a process with a real renderer.