godot_voxel/doc/source/api/VoxelMesherBlocky.md
Marc Gilleron d5a69003c3 Add missing classes and run doctool (doctool has issues though)
VoxelGeneratorHeightmap.height_range is wrong in the doc.
VoxelTool lost all default values in doc.
These are likely Godot bugs...
2021-11-06 02:04:16 +00:00

1.3 KiB

VoxelMesherBlocky

Inherits: VoxelMesher

Produces a mesh by batching models corresponding to each voxel value, similar to games like Minecraft or StarMade.

Description:

Occluded faces are removed from the result, and some degree of ambient occlusion can be baked on the edges. Values are expected to be in the constant VoxelBuffer.CHANNEL_TYPE channel. Models are defined with a VoxelLibrary, in which model indices correspond to the voxel values. Models don't have to be cubes.

Properties:

Type Name Default
VoxelLibrary library
float occlusion_darkness 0.8
bool occlusion_enabled true

Property Descriptions

Generated on Nov 06, 2021