From ea442624cb9eb799fba771651bfb372a1cba06d0 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 13 May 2026 01:11:58 +0200 Subject: [PATCH] Initialize road surface rendering state in RuntimeHost --- src/runtime-three/runtime-host.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 9b1da2eb..aa25eee4 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -757,6 +757,11 @@ export class RuntimeHost { string, RuntimeTerrainRenderObjects >(); + private readonly roadSurfaceGroup = new Group(); + private readonly roadSurfaceMeshes = new Map< + string, + RuntimeRoadSurfaceRenderObjects + >(); private volumeTime = 0; private readonly volumeAnimatedUniforms: Array<{ value: number }> = []; private readonly runtimeWaterContactUniforms: RuntimeWaterContactUniformBinding[] =