remembered and felt squares
Squares the hero saw earlier and no longer sees, and squares felt while blind. The terminal draws them like seen squares.
Builtneeds review3 changes builtSeen all the timeLast touched December 2, 2026: a change of its own was written or changed. Commit 1139c2f0d.
In the terminal
Remembered squares keep their last glyph: walls, doors, features, traps and objects stay drawn exactly as last seen, monsters vanish (unless sensed by telepathy, detection or warning), temporary effects are never remembered. The only visual difference between seen and remembered is on floors and corridors: remembered floor turns dark gray '.' (dark_room on) or blank (off), and lit corridor reverts to dark '#'. A remembered object is drawn until the hero sees the spot empty or detects objects. The remembered unseen monster 'I' is kept as memory too (creature.mark.invisible_marker).
Only the hero's own square and squares touched are updated: floor felt underfoot is drawn as dark floor, corridors as dark corridor, walls and closed doors when bumped (mention_walls draws an unseen wall when blind), boulders when pushed. Levitating, the hero feels only walls, closed doors, boulders, doorways and room or water squares. Objects underfoot are felt ("You try to feel what is lying here on the floor."). Monsters appear only by telepathy or as 'I' where bumped.
Quotes from NetHack
Each location on the level has an associated glyph. This is the hero's _memory_ of what he or she has seen there before.
3 more quotes
If the location is out of sight, display in order: sensed monsters (via telepathy or persistent detection) warning (partly-sensed monster shown as an abstraction) memory
Levitation Rules. It is assumed that the hero can feel the state of the walls around herself and can tell if she is in a corridor, room, or doorway. Boulders are felt because they are large enough. Anything else is unknown because the hero can't reach the ground.
You try to feel what is %s%s.
Decisions
Ideas are to be planned for the drawbridge, air, the plane's water and squares felt while blind.
Not decidedFull text
On the page of the backlog's questions, 2026-11-17, asked whether to keep them as the terminal shows them for now (walls, doors and bars, floors and ground, water and lava, stone, unexplored and remembered squares): "Plan ideas for them".
Backlog decisions: D-131In Codex
A soft cool light from above falls on every square the map has shown, even far from the torch.
Builtneeds reviewCamera or view
Details
The light over the explored level (N-66, Danny for Dad: "see the entire map like you do on the minimap"): a soft, cool light from high above, from the north-west at 45 degrees (N-281; 59 before) (explored_map_light, 6 000 lux with the camera near the hero, the director's 2026-10-31 setting, 2 500 before; explored_map_light_from_above, 14 000 from the high views; color 0.68, 0.69, 0.78, a cool gray since N-283, blue before, which made the stone read as snow; the faint light everywhere a warm umber, faint_light_color) over every square the map has shown, so the known level stays readable where the torch doesn't reach, with a thinner haze than before (0.06); the unexplored mist is unlit, so it stays the only dark. Codex's light, not NetHack's: the terminal draws a remembered square and a seen one alike. Out in the terminal view. Still to study: remembered squares as a line drawing seen through rock, for the close cameras.
- Id
codex.explored_light- Exact state
- Built, not reviewed
- Settings
light.explored_map_light,light.explored_map_light_from_above,light.explored_map_light_color,light.faint_light_color- Code
crates/codex-client/src/pov.rs
| N-66 | Done | The whole level in view at every camera |
| N-65 | Done | The director's tuning |
Seen from high up, walls and things cast soft shadows to the lower right, like a model on a table.
Builtneeds reviewCamera or view
Details
The level as a model on a table (N-752, the director, 2026-12-01): in the director's wide shot and the map view, a share of the explored map's light from the north-west (codex.explored_light) casts shadows, so walls and forms drop them to the lower right, as the DevTeam's tiles do (the boulder, win/share/objects.txt tile 477; the fountain, win/share/other.txt tile 41: their dark A pixels lie to the lower right). Soft (Gaussian-filtered, two cascades over the whole level, snapped to their texels so the edges hold still as the camera moves) and cool: a square in shadow keeps the rest of that cool gray light and the faint light everywhere, about two fifths of its light at the default 0.7 (the row asked 0.4, which beside cut walls read as a sliver; N-5631 keeps the choice). The shadows' share comes from a lower light than the map's, 30 degrees above the horizon on the same north-west heading (light.map_shadows_light_height_degrees), burning stronger by as much as it is lower, so a lit floor is as bright as before while the walls the high views cut low lay real bands of shade and the faces turned to it take a little more light. Letters neither cast nor take them: the share eases in only once letters lie back past 45 degrees, where they stop casting the torch's, so the close views, where letters stand, are unchanged. Not drawn at low picture quality, nor in the browser. Codex's light, not NetHack's: the terminal draws no shadows.
- Id
codex.map_shadows- Exact state
- Built, not reviewed
- Playtests
gallery-branches,gallery-branch-stairs,gallery-monsters-objects- Settings
light.map_shadows,light.map_shadows_light_height_degrees- Code
crates/codex-client/src/pov.rs,crates/codex-client/src/draw/eye.rs,crates/codex-client/src/picture.rs
| N-752 | Built, not reviewed | The level as a model on a table (the director, 2026-12-01, the step-change wave): |
| N-281 | Done | Three brightnesses from above |
A lit room in sight glows with its own light, and remembered ground is drawn in half color.
Builtneeds reviewCamera or view
Details
N-287, the north star's own words: unexplored space is blank paper, remembered squares are pencil, squares in view are painted (N-233 made literal: one texture of the map draws both the projection map and the world's light; N-98 and D-62 delivered). The stone reads the map's squares (stone.rs squares: Site::seen and Site::floor_in_sight, the terminal's S_room against S_darkroom) and blends them between squares' centers. Room floor the map shows lit and in sight is lit by its own light (room_light 0.35, room_light_color a warm (1.0, 0.86, 0.68)), as the terminal draws the whole lit room; a wall takes the light of the floor beside it. Room floor out of sight keeps remembered_room_light_close (0.35) of it in first person and close third, none from the high views, where it goes gray as the tty draws it (D-62; the tty draws a lit room and a dark room alike once out of sight, so both keep it alike). Remembered ground keeps remembered_color (0.5) of its color: pencil. Plain corridors, where the map says nothing either way, are neither. The torch reaches 3 squares (torch_reach, 8 before): in a dark corridor, where NetHack shows only the squares beside you, it no longer lights eight squares of remembered corridor as if seen. Two readings of the map's light wait behind knobs that are off, for the director's frames (X-62 round 3): floor_under_things_takes_room_light (X-135: the room's light goes on under a monster, an object, an altar, a staircase or an engraving, as the four squares beside it say, where today it drops to nothing there) and floor_beside_you_in_the_dark_is_yours (X-136: in a dark room the ring of floor NetHack draws lit round the hero is lit by the torch alone, read as out of sight, not as room light); nh-site's LightRules, packed by stone.rs squares.
- Id
codex.paint_pencil_paper- Exact state
- Built, not reviewed
- Playtests
journey-game- Settings
light.room_light,light.room_light_color,light.remembered_room_light_close,light.remembered_color,light.torch_reach,light.floor_under_things_takes_room_light,light.floor_beside_you_in_the_dark_is_yours- Code
crates/nh-site/src/sight.rs,crates/codex-client/src/draw/stone.rs,crates/nh-plays/src/picture/view/materials.rs,crates/codex-client/src/draw/materials.rs,assets/shaders/stone.wesl
| N-66 | Done | The whole level in view at every camera |
| N-98 | Built, not reviewed | Lit rooms look lit |
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-66 | Done | The whole level in view at every camera |
Applies to everything on the map (3)
- Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
- What the game showed on a square stays drawn under a monster or object that now stands there.
- 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
A change to how this looks is compared with these pictures before it is accepted.
gallery-unknown, unknown. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: gallery-branches, gallery-branch-stairs, gallery-monsters-objects, journey-game, gallery-unknown
Planned and proposed
In progress Lit rooms look lit, and what is out of sight looks remembered.
Left to do: Rooms seen lit keep some of their light by view, as decided, and wait on the light field.
In progress What Codex remembers of each level kept in one store, the same after a replay or a late join.
Left to do: The engravings' words, the staircases' drawn ways and the ways arrived by stay where they are, and the trickle waits for a yes.
Details for builders
Id: remembered. Lexicon subjects: terrain.memory, terrain.felt.
Design notes from NetHack
Out of sight, everything keeps its last glyph except monsters (not drawn) and floors and lit corridors (turned dark). The 'I' and remembered objects can be out of date.
Blind, the hero feels walls, closed doors and boulders, and floor as dark floor; engraved, burned and headstone text can be felt, dust and blood cannot.
Backlog rows
| N-66 | Done | The whole level in view at every camera |
| N-65 | Done | The director's tuning |
| N-752 | Built, not reviewed | The level as a model on a table (the director, 2026-12-01, the step-change wave): |
| N-281 | Done | Three brightnesses from above |
| N-98 | Built, not reviewed | Lit rooms look lit |
| N-10 | Built, not reviewed | Lit vs. |
| X-64 | Built, not reviewed | One memory |




