Module veloren_voxygen::scene::terrain
source ยท Modulesยง
Structsยง
- ChunkMeshState ๐
- MeshWorkerResponse ๐A type produced by mesh worker threads corresponding to the position and mesh of a chunk.
- Just the mesh part of a mesh worker response.
- SpriteRenderState ๐
- Visibility ๐
Enumsยง
Constantsยง
- The depth at which the intermediate zone between underground and surface ends
- NEVER_CULL_DIST ๐
- How many chunks are maximally rendered for rain occlusion.
- The depth at which the intermediate zone between underground and surface begins
- SPRITE_SCALE ๐
- 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. skip_remesh is either None (do the full remesh, including recomputing the light map), or Some((light_map, glow_map)).
Type Aliasesยง
- LightMapFn ๐Type of closure used for light mapping.