MapDetail beta
Interface of @v12-engine/engine
export interface MapDetailHow much detail things are drawn with by their distance on a map (MapEnvironment.detail), over the game's (GameView.world.detail): a forest map drawn lighter. The screen's: the rules never see it
Members
cull
cull?: number;Past this far from the camera, in cells, no scenery, tree or mine is drawn at all, nor casts a shadow. None when left out
levels
levels?: MapDetailLevel[];The levels of every model that has none said of it, over the game's (GameView.world.detail.levels)
models
models?: Record<string, MapDetailLevel[]>;A model's levels, by its path in models/, over its own and the game's
preload
preload?: number;How many cells past the edges of the view what is there is drawn already, so that it is ready (its pictures, its shaders, its scenery merged) before the camera brings it in: no trees coming in as the view moves, for a little more drawn off the screen. The game's when left out
scale
scale?: number;Every distance a level starts from, times this: under 1 lighter sooner, over 1 later. The game's when left out
shadowBias
shadowBias?: number;How many levels coarser than it is drawn at a thing casts its shadow, where its level does not say (shadow): 1 draws a tree's shadow at its next lighter level. The game's when left out