Making caves with Voxels
In this recipe, we will explore the basic uses of the Voxel object and how you can create caves in the cliff sides of your terrain.
Getting ready
Before we begin, you must have Sandbox 3 open
Then open
My_Level.cry
Adjust a section of your Heightmap, so that you have a mountain side to make a cave from
Complete Terrain Texture Setup and paint the mountain side
How to do it...
From the RollupBar, open the Objects tab.
Click the Misc button.
Select VoxelObject.
Place the VoxelObject a little towards the side of the mountain, as seen in the following screenshot:
Note
DO NOT rotate or scale the Voxel object.
Select the Voxel object and click Copy Terrain into Voxel.
This has now copied the shape of your terrain into the Voxel. You may not see the differences yet, but we will now cut a hole into the mountain using the Voxel Painter to create a cave:
Go to the Terrain tab in the RollupBar.
Select Voxel Painter.
Select Soft Subtract.
Set your Brush Radius to 15.
Click once around the centre...