VoxelGeneratorImage¶
Inherits: VoxelGeneratorHeightmap
Voxel generator producing a heightmap-based shape using an image.
Description:¶
Uses the red channel of an image to generate a heightmap, such that the top left corner is centered on the world origin. The image will repeat if terrain generates beyond its size.
Note: values in the image are read using get_pixel and are assumed to be between 0 and 1 (normalized). These values will be transformed by VoxelGeneratorHeightmap.height_start and VoxelGeneratorHeightmap.height_range.
Properties:¶
| Type | Name | Default |
|---|---|---|
| bool | blur_enabled | false |
| float | height_range | 200.0 |
| Image | image |
Property Descriptions¶
bool blur_enabled = false¶
(This property has no documentation)
float height_range = 200.0¶
Image image¶
Sets the image that will be used as a heightmap. Only the red channel will be used. It is preferable to use an image using the RF or RH format, which contain higher resolution heights. Common images only have 8-bit depth and will appear blocky.
Generated on Jan 26, 2026