/battlemap-mcp:battlemap-lighting-hierarchyfrom battlemap-mcp
Guides lighting decisions in Dungeondraft battlemaps: setting ambient light, placing intentional sources, and using warm/cool contrast for atmosphere and legibility.
Ships in battlemap-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Light is a compositional signal, and darkness is half of it. Decide the global condition first, then place sources that earn their place against it.
Set the ambient light with set_ambient_light before placing any source. Start
close to neutral when the scene's colour should come from local sources rather
than tinting the whole map. Ambient can also restate the time of day without
rebuilding the geometry, so treat it as a global condition rather than a change
to every asset.
Tint ambient when the brief calls for a pervasive condition — moonlight, fog, a strange sky — and expect to compensate in the sources.
Choose the ambient the brief asks for, then prove it in a render. A dim warm tavern, a cold night exterior and an evenly lit hall are all legitimate; mood comes from the contrast between a lit zone and a dark one, so an even ambient is not automatically the safer choice. A fresh map's white is flat glare rather than daylight — decide rather than leave it.
The ambient is a time of day, so ask for it in the first question round and set it before the first region is judged. Every review made under the wrong one is a review of a different map. It also caps what interior light can do: under full noon ambient, candles and hearths barely register, while a late afternoon gold lets the same sources read as a household going about its evening.
What is not optional is legibility. After the ambient and the sources are set, look at a render: every zone you expect play in has to read at the table. A room that is atmospheric in a close-up and a black box at map zoom has the ambient too low for the sources it has — raise it, or give the dark zones a source, rather than splitting the difference everywhere.
Treat a departure from these as a decision you should be able to justify:
Use warm and cool light to distinguish conditions when the brief calls for it: for example, warm local light can contrast with moonlight, magic, ice, or water. A scene lit entirely in cool colour should be an intentional answer to the brief.
A light has a job and a cause, and the rules below only cover the job. Before placing one, name what is emitting it — then place the object that emits it. Candle, hearth fire, lantern, brazier, forge, torch, a window with light behind it, a magical portal, a glowing rune. A pool of warm light on bare ground with nothing above it does not read as atmosphere; it reads as a mistake, and it is the kind a viewer notices immediately even when they cannot say why.
This cuts both ways. An emitter placed with no light is just as wrong: an unlit lantern hanging by a door, or a hearth full of fire throwing nothing into the room, tells the viewer the scene is a diagram. Fire in a hearth and light from that hearth are one decision, made together.
Outdoors the global condition is itself the source, so decide it. Daylight, overcast, dusk, moonlight — that choice sets what the open ground already has and therefore what a local source is allowed to add. Under full daylight, scattered warm pools along a road are unexplainable; at night the same road wants the light to come from lantern posts, lit windows, a watchfire — things that are in the scene. An exterior that is dark everywhere except where a source stands is correct at night and wrong at noon.
So when a region reads as flat or lifeless, the fix is rarely another bare light. It is usually the missing global condition, or a source object that was never placed.
Name the job of each add_light before placing it:
| Role | Job |
|---|---|
| Focal event | The encounter's central action, reward, hazard or clue. |
| Threshold | A meaningful change of state: outside to inside, safe to dangerous. |
| Route cue | An entrance, a safe passage, or the next decision. |
| Local reveal | Makes an interactable feature readable without taking over its area. |
Leave the space between roles dark. Contrast is what makes a lit area mean something — and where the surroundings are lit, a focal point can be made by withholding light instead of adding it.
A building feels inhabited when light sits where people are now, and not where they are not. Light the rooms in use, each from the emitters in it — the candle on the table, the hearth, the stove, the lamp by the gate — and let lantern light spill through an open doorway into the next room. Leave the unused rooms dim on purpose: a dead owner's study, a shut guest room, a storeroom nobody has opened today. The contrast tells the story that raising the ambient never will.
Name each dark room's reason in the plan, so the darkness reads as a decision when you review it and is not "fixed" by a later pass.
A hand lantern does not stand in a corridor. In halls and passages, light from fixtures on the wall — a wall lantern or sconce on the wall line — and put the light on the fixture. A lantern on the floor mid-corridor reads as dropped, and its light as a mistake.
Place an emitter and its light together. place_object(light=...), or a
light on a place_objects entry, creates the light on the object in the
same undo step, so moving on and undoing never leaves a glow without a lamp.
Light a whole room or floor in one pass with add_light(lights=[...]), which
is one undo step. To adjust the hierarchy afterwards, change a light in place
with modify_object(id=<light>, energy=..., range=..., color=..., shadows=...)
rather than deleting and re-adding it; those changes are saved with the map.
Call get_composition_snapshot, then review a whole-map export_map and a
focused screenshot of the focal event. The snapshot is an inventory aid, not a
brightness measurement — only the render answers whether the hierarchy reads.
If a source competes with the focal event, erases a useful shadow, or makes the
scene look evenly illuminated, undo it before adding another. Finish with the
composition audit once the
hierarchy holds at both scales.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thekannen/battlemap-mcp --plugin battlemap-mcp8 skills in this plugin
/battlemap-art-directionUse when translating a Dungeondraft map brief into a deliberate visual plan before building or reviewing an environment, interior, or mixed scene./battlemap-composition-auditUse when a nearly built Dungeondraft map needs a whole-map composition check before final polish, especially when hierarchy, routes, focus, or density may be unclear./battlemap-environmentsUse when building an outdoor Dungeondraft scene such as a forest, shoreline, trail, ruin exterior, or open encounter map.Other plugins' skills for the same job