Update material texture handling to use general material rendering types
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user