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 Parameter | Default type |
|---|---|
SectionMeshing extends boolean | boolean |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
ambientLight? | number | Minimum 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? | boolean | Bake 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? | number | Average 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? | number | Maximum width and height of each section atlas page, in pixels. Defaults to 2048. | packages/minerender/src/world/MineRenderWorld.ts:840 |
renderEntities? | boolean | Render supported saved mobs at their position and yaw, including supported appearance fields. Defaults to false. | packages/minerender/src/world/MineRenderWorld.ts:828 |
savedLighting? | boolean | Shade 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? | SectionMeshing | Merge 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 |