Update material texture handling to use general material rendering types

This commit is contained in:
2026-05-18 16:06:39 +02:00
parent 849ce834ea
commit 6f0d631cca

View File

@@ -87,13 +87,13 @@ import {
buildSplineCorridorJunctionMeshGeometry, buildSplineCorridorJunctionMeshGeometry,
resolveSplineCorridorJunctionRoadEdgeSeams resolveSplineCorridorJunctionRoadEdgeSeams
} from "../geometry/spline-corridor-junction-mesh"; } from "../geometry/spline-corridor-junction-mesh";
import {
createStarterMaterialSignature,
createStarterMaterialTextureSet,
disposeStarterMaterialTextureSet,
type StarterMaterialTextureSet
} from "../materials/starter-material-textures";
import type { MaterialDef } from "../materials/starter-material-library"; import type { MaterialDef } from "../materials/starter-material-library";
import {
createMaterialSignature,
createMaterialTextureSet,
disposeMaterialTextureSet,
type MaterialTextureSet
} from "../materials/material-rendering";
import { import {
applyAdvancedRenderingRenderableShadowFlags, applyAdvancedRenderingRenderableShadowFlags,
configureAdvancedRenderingShadowLight, configureAdvancedRenderingShadowLight,
@@ -260,7 +260,7 @@ import { resolvePlayerClimbSurface } from "./player-climbing";
interface CachedMaterialTexture { interface CachedMaterialTexture {
signature: string; signature: string;
textureSet: StarterMaterialTextureSet; textureSet: MaterialTextureSet;
} }
interface RuntimeTerrainRenderChunkObjects { interface RuntimeTerrainRenderChunkObjects {