The painted ground actually loads: floor and ceiling join MATERIALS
The loader walks MATERIALS to swap painted files over the procedural bakes, and the two ground planes were never added to it — so floor.png and ceiling.png sat served-but-unread while the renderer kept its own flagstones. Eight materials in the list now, all eight paintable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
4c46611ca2
commit
fcafdb06de
@@ -42,7 +42,7 @@ function brickTexture(base: [number, number, number], rows: number, mortar: stri
|
||||
for (let r = 0; r <= rows; r++) c.fillRect(0, r * rh - 1, TEX, 2);
|
||||
});
|
||||
}
|
||||
export const MATERIALS = ["wall", "rim", "stone", "door", "firewall", "warp"] as const;
|
||||
export const MATERIALS = ["wall", "rim", "stone", "door", "firewall", "warp", "floor", "ceiling"] as const;
|
||||
|
||||
/** The built-in bake: what ships when no painted file overrides it. */
|
||||
export function proceduralTextures(): Record<string, HTMLCanvasElement> {
|
||||
|
||||
Reference in New Issue
Block a user