diff --git a/assets/blender/fbc_night_shift_diorama.blend b/assets/blender/fbc_night_shift_diorama.blend index 5b8952e..805567b 100644 Binary files a/assets/blender/fbc_night_shift_diorama.blend and b/assets/blender/fbc_night_shift_diorama.blend differ diff --git a/assets/textures/concrete/concrete_albedo.png b/assets/textures/concrete/concrete_albedo.png index fe97ea6..c3e172a 100644 Binary files a/assets/textures/concrete/concrete_albedo.png and b/assets/textures/concrete/concrete_albedo.png differ diff --git a/docs/ENV_ENHANCEMENT.md b/docs/ENV_ENHANCEMENT.md index bc37942..a67c215 100644 --- a/docs/ENV_ENHANCEMENT.md +++ b/docs/ENV_ENHANCEMENT.md @@ -390,6 +390,12 @@ clipping < 0.5%, red-dominant 15–25%. ## Status log +- 2026-11-23 (value pass): dropped the concrete albedo from mean 0.51 to 0.416 + so the floor sits under the carpet/actors again, and darkened the signal-red + carpet in both the game and the diorama (base 150→112 in the game, 0.42→0.26 + in Blender). Added carpet detail: worn traffic lanes, panel seams and soft + scuff patches (8 in each presenter), keeping the runners readable at tactical + camera distance. Re-baked maps, rebuilt scene and re-rendered concept frames. - 2026-11-23 (concrete material): swapped the in-house procedural concrete set for maps baked from the CGTrader **"Concrete material"** by KirillP (`ConcreteMaterial.blend` in the repo root, Royalty Free / no AI — free for diff --git a/docs/concept/detail_guard_standees.png b/docs/concept/detail_guard_standees.png index f1acf4a..33501a3 100644 Binary files a/docs/concept/detail_guard_standees.png and b/docs/concept/detail_guard_standees.png differ diff --git a/docs/concept/hero_game_camera.png b/docs/concept/hero_game_camera.png index 1e4df67..9c087ae 100644 Binary files a/docs/concept/hero_game_camera.png and b/docs/concept/hero_game_camera.png differ diff --git a/docs/concept/hero_oldest_house.png b/docs/concept/hero_oldest_house.png index 0b250cf..c10a424 100644 Binary files a/docs/concept/hero_oldest_house.png and b/docs/concept/hero_oldest_house.png differ diff --git a/src/render/presenter.cpp b/src/render/presenter.cpp index 65b0119..c66c3d1 100644 --- a/src/render/presenter.cpp +++ b/src/render/presenter.cpp @@ -119,9 +119,9 @@ void Presenter::draw_environment(const Game& game) { DrawCube({0.0f, 0.012f, -12.0f}, arena * 2.0f, 0.024f, 0.18f, line); DrawCube({0.0f, 0.012f, 12.0f}, arena * 2.0f, 0.024f, 0.18f, line); - // Signal-red carpet runners. - const Color carpet{150, 18, 30, 255}; - const Color carpet_edge{88, 8, 16, 255}; + // Signal-red carpet runners: deep pile, worn lanes and panel seams. + const Color carpet{112, 12, 22, 255}; + const Color carpet_edge{62, 6, 12, 255}; DrawCube({0.0f, 0.03f, 5.0f}, 6.0f, 0.06f, 26.0f, carpet); DrawCube({0.0f, 0.034f, 11.0f}, 26.0f, 0.068f, 5.0f, carpet); DrawCube({-2.82f, 0.033f, 5.0f}, 0.34f, 0.066f, 26.0f, carpet_edge); @@ -130,11 +130,25 @@ void Presenter::draw_environment(const Game& game) { DrawCube({0.0f, 0.036f, 13.6f}, 26.0f, 0.072f, 0.34f, carpet_edge); for (float z = -6.0f; z <= 16.0f; z += 4.0f) { DrawCube({0.0f, 0.061f, z}, 5.7f, 0.004f, 0.05f, - Color{96, 10, 18, 255}); + Color{66, 7, 13, 255}); } for (float x = -11.0f; x <= 11.0f; x += 4.0f) { DrawCube({x, 0.07f, 11.0f}, 0.06f, 0.004f, 4.6f, - Color{96, 10, 18, 255}); + Color{66, 7, 13, 255}); + } + for (float x : {-1.35f, 1.35f}) { + DrawCube({x, 0.063f, 5.0f}, 0.7f, 0.003f, 24.0f, + Color{90, 9, 17, 255}); + } + const float carpet_scuffs[][4] = { + {-1.2f, -2.0f, 0.75f, 0.6f}, {1.5f, 2.4f, 0.55f, 0.5f}, + {-0.9f, 7.5f, 0.9f, 0.7f}, {1.1f, 13.5f, 0.65f, 0.6f}, + {-2.0f, 16.0f, 0.5f, 0.5f}, {-6.5f, 11.0f, 0.8f, 0.6f}, + {4.0f, 11.0f, 0.7f, 0.5f}, {8.5f, 11.0f, 0.9f, 0.7f}, + }; + for (const auto& s : carpet_scuffs) { + DrawCylinder({s[0], 0.067f, s[1]}, s[2], s[2] * 1.2f, 0.006f, 9, + Color{64, 6, 13, static_cast(120 * s[3])}); } // Spilled toner / scorched stains and redacted paper scraps break up the diff --git a/tools/blender/build_scene.py b/tools/blender/build_scene.py index 7afee8f..1b3d3a7 100644 --- a/tools/blender/build_scene.py +++ b/tools/blender/build_scene.py @@ -532,11 +532,14 @@ def build_materials(): nt.links.new(gloss.outputs["Color"], b.inputs["Roughness"]) m["floor"] = floor # Red carpet: signal red, fabric-ish. - carpet = principled("carpet_red", (0.42, 0.012, 0.03), rough=0.72) + carpet = principled("carpet_red", (0.26, 0.008, 0.02), rough=0.72) add_noise_bump(carpet, scale=90.0, strength=0.32, detail=12.0) set_in(bsdf_of(carpet), "Sheen Weight", 0.2) m["carpet"] = carpet - m["carpet_border"] = principled("carpet_border", (0.22, 0.006, 0.016), rough=0.68) + m["carpet_border"] = principled("carpet_border", (0.12, 0.004, 0.01), rough=0.68) + m["carpet_seam"] = principled("carpet_seam", (0.13, 0.004, 0.01), rough=0.8) + m["carpet_wear"] = principled("carpet_wear", (0.10, 0.003, 0.008), rough=0.85, + alpha=0.55) m["paper"] = principled("paper_sign", (0.83, 0.8, 0.72), rough=0.55) m["ink"] = principled("redaction_ink", (0.02, 0.02, 0.022), rough=0.5) m["door_dark"] = principled("door_dark", (0.055, 0.055, 0.062), rough=0.35, metal=0.55) @@ -628,6 +631,22 @@ def build_floor(m): for y in (9.28, 14.72): make_box("Carpet_BorderX_%d" % y, 0, y, 0.036, 36.0, 0.38, 0.072, m["carpet_border"]) + for y in (-8, -4, 0, 4, 8, 12, 16, 20): + make_box("Carpet_Seam_%d" % y, 0, y, 0.062, 6.8, 0.05, 0.008, + m["carpet_seam"]) + for x in (-14, -10, -6, -2, 2, 6, 10, 14): + make_box("Carpet_SeamX_%d" % x, x, 12, 0.07, 0.05, 5.8, 0.008, + m["carpet_seam"]) + for x in (-1.35, 1.35): + make_box("Carpet_Lane_%d" % x, x, 6, 0.062, 0.7, 29.5, 0.008, + m["carpet_seam"]) + for i, (x, y, r) in enumerate(((-1.2, -2.0, 0.75), (1.5, 2.4, 0.55), + (-0.9, 7.5, 0.9), (1.1, 13.5, 0.65), + (-2.0, 16.0, 0.5), (-6.5, 12, 0.8), + (4.0, 12, 0.7), (8.5, 12, 0.9))): + make_cyl("Carpet_Scuff_%d" % i, x, y, 0.064, 0.07, r, + m["carpet_wear"], segs=12, coll="ENV") + def build_walls(m): t = 0.6 diff --git a/tools/blender/process_concrete_maps.py b/tools/blender/process_concrete_maps.py index 4b65e82..9fac6d6 100644 --- a/tools/blender/process_concrete_maps.py +++ b/tools/blender/process_concrete_maps.py @@ -37,7 +37,7 @@ def blur(a, radius): ImageFilter.GaussianBlur(radius)), np.float32) / 255.0 -albedo = upscale(load("albedo")) * np.array([0.80, 0.80, 0.86], np.float32) +albedo = upscale(load("albedo")) * np.array([0.66, 0.66, 0.71], np.float32) albedo = blur(albedo, 1.6) rough = upscale(load("roughness")) r = rough[:, :, 0] @@ -45,7 +45,7 @@ rough[:, :, 0] = rough[:, :, 1] = rough[:, :, 2] = ( (r - r.min()) / max(r.max() - r.min(), 1e-5) * 0.27 + 0.45) voronoi = upscale(load("height_voronoi"))[:, :, 0] crack = blur(np.clip((0.92 - voronoi) / 0.5, 0.0, 1.0), 1.0) -albedo *= (1.0 - 0.18 * crack)[:, :, None] +albedo *= (1.0 - 0.22 * crack)[:, :, None] height = (0.37 * (blur(rough[:, :, 0], 1.0) - rough[:, :, 0].mean()) + 0.89 * (blur(voronoi, 1.0) - voronoi.mean())) gx = (np.roll(height, -1, 1) - np.roll(height, 1, 1)) * 0.5