How tuntenfisch/voxels works
Project type and purpose
• This is an open-source Unity project implementing GPU-based Dual Contouring for infinite, destructible voxel terrain with seamless LOD and multi-material support. It’s neither a web service nor a traditional full-stack app but a real-time 3D engine extension/tool.
File structure
Top-level folders:
• Assets/Compute – HLSL include files and Compute Shader kernels
• Assets/Scripts – C# orchestrators, data objects, GPU wrapper classes, chunk & world management
• Assets/Shaders & ShaderGraphs – custom URP PBR surface shader (with geometry stage) and node-based shader graphs
• Assets/Materials, Textures – ScriptableObjects and Texture2DArray input for materials
• Assets/Prefabs, Scenes – ready-to-drop chunk prefab & sample scene
• Assets/ScriptableObjects – configuration assets for voxel volume, DC settings, materials
• Packages & ProjectSettings – Unity package manifest and editor settings