the 3D world as a whole

The map as a place. One unit per square, rebuilt as the map changes.

The terminal shows this in words, not as a letter.
Terminal
No picture of this is on the site yet.
Codex

Builtneeds review4 changes builtSeen all the timeLast touched December 2, 2026: a change of its own was written or changed. Commit bf087d4ad.

In the terminal

The map window: 80 columns by 21 rows, each known square one colored character, the whole explored level drawn at once from above; no depth, height, light or occlusion, and every square equally readable. Distance is Chebyshev, and on the grid a diagonal step counts as one square, like a straight one.

Quotes from NetHack

Each symbol on the screen represents something.
doc/Guidebook.mn:476

Decisions

One style, fused from all the art seeds. A place looks different only where NetHack says it does.

Codex draws it
Full text

Art direction (director, 2026-10-29). One style, fused from all the art seeds: the ink-and-watercolor storybook of 1970s–80s module art (whimsical, bright, funny, a little grotesque), Klimt's gold, kintsugi, the Renaissance, R. Crumb's comix, Mordor and the rest of NORTH_STAR.md, intermingled into one look everywhere. Not a swappable skin, not a twist here and there, and not minimalist or rigid: those were misreadings of D-1 and D-6 (and of the north star's "minimalist by design", which was about not trivializing the game, not about austerity). Agents build art direction as the director asks, without pushing back on it. First: lumpier caves (N-52).

Backlog decisions: D-49, D-59, D-1, D-6

The 3D view exists for three things. How far away things are down a corridor, which way a door faces, and which way you came.

Codex draws it
Full text

What the 3D view is for. It serves three decisions a player makes better there than on the terminal: depth down a corridor (a line of monsters reads as a line), door orientation and what is through it, and facing as memory of where you came from. Camera and world are designed to make those three legible; everything else is atmosphere. New presentation work is judged against this.

Backlog decisions: D-22

Diagonals look longer than they play. Accepted. The minimap keeps the true distances.

Left as the terminal shows it
Full text

Distance. NetHack's metric is Chebyshev; the 3D world is Euclidean and a diagonal looks √2 longer than it plays. Accepted. The minimap carries the truth about distance; no geometry tricks.

Backlog decisions: D-23

In Codex

Stone gives back the light on it in its own color, and corners and the foot of things close in.

Builtneeds reviewCamera or view

Details

N-760, the director's remaster wave, light first (2026-12-02, docs/briefs/aaa-envisioning.md: light that bounces, soft shadow where things touch). One bounce of light on the square grid, reckoned pure in nh-plays (sources::bounce) beside the light field: every light the world shows (the lantern, a play's light, lava's, a thing's) and a lit room's own light, where the map shows the floor lit in sight, fall on the stone the map shows; each square gives back its own stone's color (its ground's or its wall's surface, as nh-scene describes it); a body of lava gives its own glow, square by square, so a flow warms its bank at least as much as a lone square (N-2810). That light is gathered within five squares through ground the map shows open and stops at walls, four texels a square, so a wall one square thick keeps each side's light to its side. A fourth channel is how open each point is: the foot of a wall, more in an inside corner, and the floor round a thing standing on it (a boulder, a basin, an altar, a headstone) are closed in, worked out from the map and the scene alone, so it needs no screen-space pass (N-4301's second level). The stone (stone.wesl) and the grounded forms (grounded.wesl) add it as light falling on them, never on a wall's top. Nothing is shown that the map does not show (N-274): light given back lands only on squares the map shows, at 0.35 of itself on ground the map shows remembered, never on the unknown, and passes only through open ground the map shows. It is reckoned when the map, a square's stone, a light's square or its strength changes, never each frame, and eased in over 0.3 s, about the hero's glide of a step, so nothing pops. A place takes its light from its own stone (Gehennom's red brick reddens its floor, a lit room's brown floor browns its walls and ceiling), with no tint laid over the map. Every letter keeps its color: the light lands on stone and grounded forms only. Off (bounced_light_strength 0), the texture is nothing given back and everything open, and the stone adds 0 and multiplies by 1: today's picture bit for bit.

Id
codex.bounced_light
Exact state
Built, not reviewed
Settings
light.bounced_light_strength
Code
crates/nh-plays/src/sources/bounce.rs, crates/nh-knobs/src/light/bounced_light.rs, crates/codex-client/src/draw/sources/bounce.rs, crates/codex-client/src/draw/stone.rs, crates/codex-client/src/draw/grounded.rs, assets/shaders/stone.wesl, assets/shaders/grounded.wesl
N-760Built, not reviewedBounced light and contact shade from the map (the director, 2026-12-02, the remaster wave:
N-274To doCheck: torch light over a lowered wall
N-4301To doContact shade from the map, everywhere
N-2810To doA flow of lava lights its bank less than a lone square does (review of features-lava-molten, change 2):

Where two things meet the light is closed in, so altars, stairs and corners sit in the world.

Builtneeds reviewCamera or view

Details

N-317, the director's 'contact shadow everywhere' (2026-11-03). Bevy's screen-space ambient occlusion on the eye camera, behind [picture] contact_shadows (auto: off at low, its rough level at medium, its finest at high). Bevy applies it to the faint light everywhere only; the walls' and floors' stone (stone.wesl) also takes contact_shadow_in_lamplight of it from the lamplight and the room's light, so the floor darkens at an altar's foot, a basin's base, a wall's foot and in a room's corner. Monster letters and the hero are self-lit and never darken; letters drawn by alpha blending are not in the depth prepass, so they shade nothing behind them (the contact shade at their foot does that, N-279). It needs multisampling off: with it on, the edges smooth_edges asks for are smoothed by SMAA (medium for 2, high for 4) and solid letters and statues are cut at half instead of by alpha to coverage, from mips that keep each letter's coverage at the cut (N-332; the lantern's air's depth prepass asks the same). Object letters then show crisp in their own color without the old halo (N-331, the director's choice). Nothing new is inferred: it reads only the depth and normals of what is drawn.

Id
codex.contact_shadow
Exact state
Built, not reviewed
Playtests
gallery-monsters-objects
Settings
picture.contact_shadows, light.contact_shadow_reach, light.contact_shadow_in_lamplight, light.contact_shadow_threshold
Code
crates/codex-client/src/picture.rs, assets/shaders/stone.wesl, crates/codex-client/src/draw/stone.rs

A basin, a door or a boulder darkens where it meets the floor, with the floor at its foot.

Builtneeds reviewCamera or view

Details

N-319, the rest of the director's 'contact shadow everywhere' (N-317, 2026-11-03). A fountain's basin, a door's leaf and its handle, a boulder and a tool's form are the world's surfaces on the standard material, and Bevy's contact shadow closes in only their faint light, so their own sides stood bright beside the floor that darkened at their foot. They are drawn in the grounded material (draw/grounded.rs, assets/shaders/grounded.wesl): the same standard material, its lamplight closed in by the contact shadow as the walls' and floors' stone has it (stone.wesl): the stone's share, contact_shadow_in_lamplight, times contact_shadow_on_forms (1), above the stone's contact_shadow_threshold, so their open faces keep their light and only the joins darken. A form's side meets the floor at a shallower occlusion than the stone's corners (0.5 to 0.7 at a basin's foot, measured on the GTX 1660), so on a form the shadow is full where the occlusion reaches contact_shadow_on_forms_depth (0.6) of where it begins, on an S-curve that starts flat: at the stone's own curve the foot moved by two or three levels in eight bits and could not be seen. Only at the foot of a tall form (N-694, the director, 2026-11-28: "Only the bottom of tall things"): the shadow fades out going up the form's side, full to half of contact_shadow_on_forms_reaches_up (0.35 squares over the floor, about a sixth of a door) and none past it, and the faint light Bevy closes in by itself is lifted on the same curve, so an open door's leaf, one of the things the eye should find first, is lit above its foot as with no contact shadow at all (gallery-shop's first person, measured against the shadow off: all the brightness it had lost comes back from chest height up, half of it just over the foot); a basin or a boulder is short enough to be all foot and is grounded as before. Their own glow is never closed in. An altar and a thing with lore are already the stone's (N-2310) and take it there; with light.room_light_on_things 0 they are drawn on the standard material and take it here. A statue stays a letter of stone on the standard material (its letter is played on by a throw and a melt). With the contact shadow off (low quality) or the knob at 0 every form keeps the standard material, as before. Nothing new is inferred: it reads only the depth and normals of what is drawn.

Id
codex.grounded_forms
Exact state
Built, not reviewed
Playtests
gallery-furniture-shadow
Settings
light.contact_shadow_on_forms, light.contact_shadow_on_forms_depth, light.contact_shadow_on_forms_reaches_up
Code
crates/codex-client/src/draw/grounded.rs, assets/shaders/grounded.wesl, crates/codex-client/src/draw/things.rs

One word sets how much work each picture takes, and each part of it can be set on its own.

Builtneeds reviewCamera or view

Details

N-292. [picture] quality is auto, low, medium or high; auto asks the graphics adapter (RenderAdapterInfo's device type): a software renderer low, an integrated or virtual GPU medium, a discrete GPU high. Each thing it sets is its own knob taking auto or a value: smooth_edges (multisampling 1, 2 or 4 samples; letters cut out by alpha use alpha to coverage where there is multisampling and no depth prepass, N-291, and otherwise a half cut from mips that keep each letter's coverage at the cut, N-332), torch_shadow_detail (each face of the torch's shadow map, 512 or 1024 pixels; at low the hardware's 2x2 shadow filter), sharp_textures_at_angles (anisotropic filtering of the stone, ground, blocks and letters, 1, 4 or 16). Playtests run with CODEX_QUALITY=high so their frames show what players see. Fewer things in the torch's shadow map (N-289, nh-scene Form::casts: floors, the seams inside the rock and the mist cast none) and a wall's seams drawn only beside a neighbor cut lower (N-290) are part of the same economy. Not built: render_scale (N-297) and frame measurement (T-79).

Id
codex.picture
Exact state
Built, not reviewed
Playtests
journey-game
Settings
picture.quality, picture.smooth_edges, picture.torch_shadow_detail, picture.sharp_textures_at_angles
Code
crates/codex-client/src/picture.rs, crates/nh-scene/src/model.rs, crates/codex-client/src/draw/view/cutaway.rs

The rooms and hallways you know stay present through the rock between, never as an outline.

In progressCamera or view

Details

N-288 (the director, 2026-11-03: "We still need something to show the known rooms and hallways for the 3D in a way comparable to how the 2D one made so accessible"; "I don't want the gold geometric outline any more, no; there needs to be something better here"). Every known floor and wall is drawn a second time (a child of the piece, so it is cut and moved with it) in a material that passes only where something nearer hides it: its pipeline's depth test is 'farther than what is drawn' (Bevy's depth runs from 1 near to 0 far, so CompareFunction::Less), it writes no depth, and a slope bias keeps a floor's own cobbles seen edge-on from hiding it. Only what the map shows is built, so nothing of the unexplored shows; it fades from full near (nothing within a square of the eye) to nothing at remembered_reach (22 squares) from the camera; it is a faint blend, never brighter than the world in sight; quieter up close and a little stronger from the high views (remembered_strength 0.22, remembered_strength_from_above 0.32, by the camera's height). Never an outline of any color. A study of four treatments (remembered_through_walls): wash, known floors as a soft watercolor stain in a warm gray, feathered toward the walls so rooms read as pools and hallways as ribbons, with a slow paper grain; ghost, the real floors and walls faint, shaded by how each face turns to the map's light, as through frosted glass; light, known rooms faintly lit from within, pooling toward a room's middle; sketch, a pencil underdrawing (the director: "not a direct extension of the prior and just a color change, but a fundamentally new design altogether"): walls shaded by hatching in warm graphite whose direction follows the face and whose density follows how it turns from the light, a cross-hatch only in the darkest, strokes of varying pressure broken into lengths and wobbling a little, anchored in the world and about a pixel and a half wide on screen, floors left as paper with a sparse grain; a room's shape comes from where the hatching stops, never from a drawn contour. off draws none. Wash finished (N-299; the director, 2026-11-03: "I think I like wash the best" and "let's see that wash finished"): it is the default, and it fades as the eye looks along a floor instead of down on it (remembered_wash_steepness 14 degrees above the floor, full at 28), because seen edge-on in first person a hidden floor through the rock had collapsed into thin pale lines at floor height, which read as the gold outline (D-75), and the cobbles of floors in sight had let it through in flecks; its grain smooths toward its mean where it would be finer than a pixel. From close third and above a known hallway behind the rock still reads as a soft pale stain. Ghost, light and sketch are unchanged.

Id
codex.remembered_through_walls
Exact state
In progress
Playtests
gallery-unknown
Settings
light.remembered_through_walls, light.remembered_strength, light.remembered_strength_from_above, light.remembered_reach, light.remembered_wash_steepness
Code
crates/codex-client/src/draw/remembered.rs, crates/nh-plays/src/picture/view/materials.rs, crates/codex-client/src/draw/materials.rs, assets/shaders/remembered.wesl, crates/codex-client/src/draw/things.rs
N-66DoneThe whole level in view at every camera
Applies to everything on the map (1)
  • The map is drawn as a 3D world of walls and floors, lit by the hero's torch and a faint glow.

Accepted pictures and playtests

Playtests: gallery-monsters-objects, gallery-furniture-shadow, journey-game, gallery-unknown

Planned and proposed

Planned Letters and stone stay sharp and calm at a distance, with no shimmer.

Details for builders

Id: world. Lexicon subjects: lens.world.

Design notes from NetHack

Terrain names from the symbol explanations: 'floor of a room', 'corridor', 'doorway', 'staircase up', 'staircase down', 'lowered drawbridge'.

Piercers cling to it; digging up brings it down; a drum's earthquake shakes things loose from it.

Backlog rows

N-760Built, not reviewedBounced light and contact shade from the map (the director, 2026-12-02, the remaster wave:
N-274To doCheck: torch light over a lowered wall
N-4301To doContact shade from the map, everywhere
N-2810To doA flow of lava lights its bank less than a lone square does (review of features-lava-molten, change 2):
N-66DoneThe whole level in view at every camera
N-6Built, not reviewedMipmaps for the letter atlas and surface textures (distant shimmer/blur).
N-282Built, not reviewedMipmaps and anisotropic filtering