Module terrain

Source

Modulesยง

sprite ๐Ÿ”’
watcher ๐Ÿ”’

Structsยง

BlocksOfInterest
ChunkMeshState ๐Ÿ”’
MeshWorkerResponse ๐Ÿ”’
A type produced by mesh worker threads corresponding to the position and mesh of a chunk.
MeshWorkerResponseMesh
Just the mesh part of a mesh worker response.
SpriteRenderContext
SpriteRenderState ๐Ÿ”’
Terrain
TerrainChunkData
Visibility ๐Ÿ”’

Enumsยง

FireplaceType
Interaction

Constantsยง

DEEP_ALT
The depth at which the intermediate zone between underground and surface ends
NEVER_CULL_DIST ๐Ÿ”’
RAIN_OCCLUSION_CHUNKS
How many chunks are maximally rendered for rain occlusion.
SHALLOW_ALT
The depth at which the intermediate zone between underground and surface begins
SPRITE_LOD_LEVELS
SPRITE_SCALE ๐Ÿ”’
UNDERGROUND_ALT
The depth below the surface altitude at which the camera switches from displaying surface elements to underground elements

Functionsยง

get_sprite_instances ๐Ÿ”’
mesh_worker ๐Ÿ”’
Function executed by worker threads dedicated to chunk meshing.

Type Aliasesยง

LightMapFn ๐Ÿ”’
Type of closure used for light mapping.
SpriteRenderContextLazy