From 10ca2d12303a59bd99de0a16895c1bd891710f70 Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 15 Jun 2026 20:47:06 -0700 Subject: [PATCH] Restore gray in-game background to match v31 (#4301) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary The in-game map background changed from gray (v31) to near-black after the WebGL renderer rewrite. This restores the gray. The renderer rewrite hardcoded the base-layer clear color to `(0.04, 0.04, 0.06)` in `drawBaseLayer` (`src/client/render/gl/Renderer.ts`). v31 set the background via `PastelTheme.backgroundColor()`, which returned `rgb(60,60,60)`. This change sets the clear color back to that gray. ## Notes - The old theme-based `backgroundColor()` system was removed in the rewrite, so this hardcoded clear color is now the single source for the map background. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- src/client/render/gl/Renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/render/gl/Renderer.ts b/src/client/render/gl/Renderer.ts index 8f933410c..f511eace7 100644 --- a/src/client/render/gl/Renderer.ts +++ b/src/client/render/gl/Renderer.ts @@ -1124,7 +1124,7 @@ export class GPURenderer { private drawBaseLayer(cam: Float32Array): void { const gl = this.gl; const pe = this.settings.passEnabled; - gl.clearColor(0.04, 0.04, 0.06, 1.0); + gl.clearColor(60 / 255, 60 / 255, 60 / 255, 1.0); gl.clear(gl.COLOR_BUFFER_BIT); gl.disable(gl.BLEND); if (pe.terrain) this.terrainPass.draw(cam);