Unity Assets from Kronnect

Voxel Play => Support => Topic started by: zarkrat on April 05, 2019, 10:35:09 PM

Title: Tiled heightmaps
Post by: zarkrat on April 05, 2019, 10:35:09 PM
I have a big continent composed of many heightmaps. Is it possible to make VoxelPlay read them in a tiled system seamlessly (instead of combining them into a single file)?

Title: Re: Tiled heightmaps
Post by: Kronnect on April 06, 2019, 01:00:43 AM
Yes, definitely but it requires a bit coding.
You need to create or modify the terrain generatorís GetHeightAndMoisture so it reads the height from the correct tile based on the given world position (that method receives a position and you must return a height and optionally the moisture).
Or instead of creating a new file from scratch you can duplicate the existing default multi-step terrain generator class file in the ScriptableObjects folder and replace that function by your own.