Go to file
Marc Gilleron 10d6e5bd8a Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
.github/workflows Remove debug symbols from Linux builds 2020-09-13 02:14:14 +01:00
doc Fix some typos 2020-09-28 18:37:49 +01:00
edition VoxelTerrain can be transformed 2020-10-25 00:55:57 +01:00
editor Don't crash if graph resources are null 2020-10-26 19:58:54 +00:00
generators Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
math Show bounds and octrees of VoxelLodTerrain with debug drawing 2020-10-24 00:08:14 +01:00
meshers Replaced Voxel.transparent with a transparency_index for more control over face culling 2020-10-25 16:59:19 +00:00
server Better fix for VoxelLodTerrain task drop 2020-10-20 23:58:55 +01:00
storage Moved VoxelBuffer and VoxelMemoryPool under storage/ directory 2020-09-14 19:33:02 +01:00
streams Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
terrain Added access to block local transform in custom shaders for VoxelLodTerrain 2020-10-31 01:15:50 +00:00
thirdparty/lz4 Moved lz4 to a thirdparty folder 2019-08-24 23:07:30 +01:00
util Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
.gitignore Fix build warnings on other platforms 2020-04-03 20:46:29 +08:00
CHANGELOG.md Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
CODE_GUIDELINES.md No long lines 2020-09-13 02:14:41 +01:00
LICENSE.md Added license 2016-07-28 00:21:21 +02:00
README.md Update readme 2020-09-11 00:32:34 +01:00
SCsub Show bounds and octrees of VoxelLodTerrain with debug drawing 2020-10-24 00:08:14 +01:00
config.py Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
cube_tables.cpp No longer copy voxels before scheduling threaded tasks. VoxelBuffers now have a lock. 2020-08-29 22:09:54 +01:00
cube_tables.h No longer copy voxels before scheduling threaded tasks. VoxelBuffers now have a lock. 2020-08-29 22:09:54 +01:00
octree_tables.h Moved ObjectPool to util/ and moved OctreeTables to root 2019-04-29 21:31:08 +01:00
register_types.cpp Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
register_types.h Added project: first working prototype, but lots of TODOs 2016-05-01 15:00:02 +02:00
voxel_constants.h Added bounds support to VoxelLodTerrain (rounded to octree size) 2020-10-22 22:43:31 +01:00
voxel_string_names.cpp Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00
voxel_string_names.h Script-based generators and streams have their own class, should fix C# API 2020-10-31 22:11:25 +00:00

README.md

Voxel Tools for Godot

A C++ module for creating volumetric worlds in Godot Engine.

Features

  • Realtime editable, 3D based terrain (Unlike a heightmap based terrain, this allows for overhangs, tunnels, and user creation/destruction)
  • Physics based collision and raycast support
  • Infinite terrains made by paging sections in and out
  • Voxel data is streamed from a variety of sources, which includes the ability to write your own generators
  • Minecraft-style blocky voxel terrain, with multiple materials and baked ambient occlusion
  • Smooth terrain using Transvoxel
  • Levels of detail for smooth terrain
  • Voxel storage using 8-bit channels for any general purpose

What This Module Doesn't Provide

  • Levels of detail for blocky terrain
  • Game specific features such as cave generation or procedural trees (though it might include tools to help doing them)
  • Editor tools (only a few things are exposed)
  • Import and export of voxel formats

How To Install And Use

Voxel Tools is a custom C++ module for Godot 3.1+. It must be compiled into the engine to work.

Prebuilt binaries

Ready-to-use versions of Godot including the module exist, though they might not be 100% up to date.

Compiling

Compiling the source yourself is the best way to get your own version and export template. Please see the Getting Started Guide for instructions.

Examples

Roadmap

These are some ideas that may or may not be implemented in the future:

  • Texturing on smooth terrain
  • Editor preview and authoring
  • Improving LOD performance
  • Other meshing algorithms (e.g. dual contouring)
  • GPU offloading (Maybe when Godot 4+ supports compute shaders)