Disclosure: This website contains affiliate links, which means we may receive a commission if you click a link and purchase something through our website. Purchasing assets through our links won’t cost you any extra money and will help fund the hosting and development of this site.


Digger - Terrain Caves & Overhangs

Digger is a simple yet powerful tool to create natural caves and overhangs in your Unity terrains directly from the Unity editor.

Doc | Discord | PRO version
Note: if you buy Digger you can get Digger PRO for a lower price.

More and more AAA games add gentle overhangs and caves to their environment to make it more realistic, more interesting and more diversified.
A common way to do this is to create 3D models with an external modeling tool, and then place them manually over the terrain and blend them with it. This is tedious, unpractical and inefficient unless you have an army of 3D artists and level designers... and even in that case, you'd probably want them to focus on more valuable work.
This is where Digger comes to action. No more external tool required, no more loss of time, no more headache. It lets you create caves and overhangs on your terrain directly within the scene view, in a few clicks.

It will make you feel like you have a voxel terrain in your hands, without the downsides. It actually keeps the new, fast and reliable Unity's terrain system and creates seamless cave/overhangs meshes just where you need. Internally, Digger uses voxels and Marching Cubes to create meshes, but instead of replacing the entire terrain with a voxel terrain, it creates a mix of them and gives you the best of both worlds.

With this tool, you will be able to:
- Dig in your Unity terrain just like if it was a smooth voxel terrain.
- Create overhangs (the opposite of digging).
- Apply different textures on the overhangs, in the caves, etc.
- With Digger PRO only: dig in real-time at runtime.

However, you won't be able to:
- Generate caves procedurally.
If you need this feature, you should get a full voxel-based terrain solution, like Ultimate Terrains.

About Unity 2019.3
Unity 2019.3 will come with a new feature allowing to cleanly cut holes in the terrain surface. However, it will not create cave meshes for you. This is why Digger will be a perfect companion of this new feature.

Thanks to this new way to cut holes in the terrain surface, Digger will have better performance, will be more robust, should work out of the box with NavMesh and will work with Physics.Raycast (no need to use DiggerPhysics anymore).

(note that Digger for Unity 2019.3 is still under development)


Full feature list:
- Easy to setup
- Dig/add mater on terrain
- Paint texture on cave meshes
- Reset back to terrain (locally)
- Set higher resolution for Digger generated meshes
- 'Sync & Refresh' button to recompute everything (useful if terrain textures or terrain heights changed)
- 'Clear' button to remove all modifications made with the tool
- Undo/redo
- Automatic collision solver
- Create LOD groups (for caves/overhangs meshes) automatically
- Remove grass and details automatically
- Persists modifications on the fly
- Multi-terrains support
- Standard and LWRP support
- Add triplanar mapping to built-in terrain shader
- Includes a triplanar mapping shader for meshes that is equivalent to the terrain shader
- Supports CTS, but without the possibility to change textures of meshes. Texture can only be the same as terrain texture above. This should become possible in a future version of CTS. CTS+LWRP and CTS+HDRP are currently not supported.
- Compatible with Gaia
- Only with Digger PRO: dig in real-time, at runtime.


Limitation:
- Doesn't work properly with terrain lightmapping
- Prior to Unity 2019.3, Digger has to create bigger meshes to handle collision. Most of the time, you should not care about this, but if you cover your entire terrain with caves and overhangs, there will be an impact on performance. If this is what you want to do, you should get a full voxel-based terrain solution, like Ultimate Terrains.

Roadmap:
- Unity 2019.3 support + full NavMesh support
- HDRP support


Digger requires Unity 2018.3 (or a more recent version) as it's built on the new terrain system. It also requires Burst, Collections and Mathematics packages.