Skip to content

Interface: MineRenderWorldOptions<SectionMeshing> ​

Defined in: packages/minerender/src/world/MineRenderWorld.ts:826

Settings passed as the second argument to new MineRenderWorld(scene, options).

Type Parameters ​

Type ParameterDefault type
SectionMeshing extends booleanboolean

Properties ​

PropertyTypeDescriptionDefined in
ambientLight?numberMinimum brightness for saved lighting, from 0 to 1, like a dimension type's ambient_light. Defaults to 0.packages/minerender/src/world/MineRenderWorld.ts:834
ambientOcclusion?booleanBake corner shading from neighboring opaque full cubes. Defaults to false; no per-frame shading pass is added. Requires sectionMeshing.packages/minerender/src/world/MineRenderWorld.ts:836
biomeBlendRadius?numberAverage neighboring biome colors within this horizontal radius, from 0 to 7 blocks. Defaults to 0 (off). Requires sectionMeshing.packages/minerender/src/world/MineRenderWorld.ts:838
maxAtlasSize?numberMaximum width and height of each section atlas page, in pixels. Defaults to 2048.packages/minerender/src/world/MineRenderWorld.ts:840
renderEntities?booleanRender supported saved mobs at their position and yaw, including supported appearance fields. Defaults to false.packages/minerender/src/world/MineRenderWorld.ts:828
savedLighting?booleanShade blocks and fluids with saved sky/block light. Missing or invalid data keeps preview brightness. Defaults to false. Requires sectionMeshing.packages/minerender/src/world/MineRenderWorld.ts:832
sectionMeshing?SectionMeshingMerge block models of any shape and fluid surfaces into per-section meshes; block entities keep individual objects. Merged blocks have no individual object.packages/minerender/src/world/MineRenderWorld.ts:830