transvoxel-unity
transvoxel-unity is a procedural voxel terrain generator for Unity using the Job System and Burst.
The tool is made for academic and demonstration purposes and is in no way considered production ready.
Requirements
- Unity 2022.3.5 or newer.
- Universal Render Pipeline
Installation
- Create a new folder inside the 'Packages' folder in your Unity Project root
- Download the project and copy it inside the new folder
Alternatively, you can install the package as a submodule by running the git command inside your project repository:
git submodule add https://github.com/bbQsauce5/transvoxel-unity.git Packages/TransvoxelUnity
System features:
- Fast Transvoxel implementation using Unity's Job System and Burst Compiler
- Source code is entirely written in C#
- Chunking and dynamic level of detail using an octree for far view distances
- "Unlimited" blending between textures using texture arrays and triplanar shading
- Collider generation inside jobs off the main thread
Future work
- Terrain editing
- Decorations and foliage generation
- Infinite terrain generation
Acknowledgements
- Lengyel, Eric. “Voxel-Based Terrain for Real-Time Virtual Simulations”. PhD diss., University of California at Davis, 2010.
- Auburn - FastNoiseLite