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 VoxelBuffer.CHANNEL_TYPE channel. Models are defined with a VoxelBlockyLibrary, in which model indices correspond to the voxel values. Models don't have to be cubes.
Properties:¶
Type | Name | Default |
---|---|---|
VoxelBlockyLibraryBase | library | |
float | occlusion_darkness | 0.8 |
bool | occlusion_enabled | true |
Property Descriptions¶
VoxelBlockyLibraryBase library¶
(This property has no documentation)
float occlusion_darkness = 0.8¶
(This property has no documentation)
bool occlusion_enabled = true¶
(This property has no documentation)
Generated on Apr 06, 2024