Update TerrainRenderObjects to use detail and distant materials

This commit is contained in:
2026-04-29 23:16:56 +02:00
parent a510bb5d2e
commit 6f290c560a

View File

@@ -229,6 +229,7 @@ import { createFogQualityMaterial } from "../rendering/fog-material";
import { updatePlanarReflectionCamera } from "../rendering/planar-reflection"; import { updatePlanarReflectionCamera } from "../rendering/planar-reflection";
import { import {
createTerrainLayerBlendMaterial, createTerrainLayerBlendMaterial,
createTerrainLayerColorBlendMaterial,
getTerrainLayerPreviewColor, getTerrainLayerPreviewColor,
getTerrainLayerTexture getTerrainLayerTexture
} from "../rendering/terrain-layer-material"; } from "../rendering/terrain-layer-material";
@@ -340,7 +341,8 @@ interface PathRenderObjects {
interface TerrainRenderObjects { interface TerrainRenderObjects {
group: Group; group: Group;
chunks: TerrainRenderChunkObjects[]; chunks: TerrainRenderChunkObjects[];
material: Material; detailMaterial: Material;
distantMaterial: Material;
debugMaterials: MeshBasicMaterial[]; debugMaterials: MeshBasicMaterial[];
pickMeshes: Mesh<BufferGeometry, Material>[]; pickMeshes: Mesh<BufferGeometry, Material>[];
} }