Bevy Clipmap
Overview
This project implements GPU-Based Geometry Clipmaps from this paper: https://hhoppe.com/gpugcm.pdf
This is an adaptive LOD technique that allows us to render huge worlds for cheap!
Usage
The example usage can be seen in the examples directory. This example uses very low-resolution maps to save space when cloning this repository. Especially horizon maps can become quite huge. For better visual results, create your own higher-resolution textures.
How to create textures
To create heightmap and horizon map textures you can use the clipmap.py script.
First of all, you have to install required libraries:
> pip
> python
}
Example usage:
> python > python
Warning: Horizon maps require significant disk space. It generates 360 horizon maps and requires 360 * W * H * 4 bytes. For 1k map it requires only 1.4GB, but for 16k map it leads to 360GB.
Compatible Bevy versions
bevy-clipmap |
bevy |
|---|---|
0.17.3 |
0.17.3 |
Contributing
PRs are very welcome!