Final Combiners

Landong asked 2 years ago

Are there any extra final combiners that go with this asset? I noticed none of the final combiners really give you the option to add multiple voxel types to change areas that slope into rocky sections. I’m trying to write my own but i’m having some issues because i’m still learning everything. Do you happen to have some more samples or is this it?

3 Answers
uTerrains Staff answered 2 years ago

I’ve just release a new version (3.0) with strong performance improvements, and now I’m going to work on the next update (yes, already!) which will focus on adding more generators, combiners and operations.
In the mean time, you should get a look at VoxelTypeFunction which allows you to set different vertex colors depending on the normal (ie. the slope) so that you can display rocks with your favorite shader. In your voxel type, change the script DefaultVoxelTypeFunctions to TopSidesColorsVoxelTypeFunctions. I hope this will be helpful!

Landong replied 2 years ago

Nice, ok thanks for pointing me in the right direction, that will help immensely.

Landong replied 2 years ago

Getting an error when i updated:

Assets/uTerrains/Sources/Threading/ChunkTreeWorker.cs(18,31): error CS0426: The nested type `TreeEntry’ does not exist in the type `UltimateTerrains.TreesChunk’

Landong replied 2 years ago

Seems to be a lot of missing references all over the place… i’m wondering if i should just wipe the folder and re-import

uTerrains Staff replied 2 years ago

Yes please delete uTerrains folder and reimport it otherwise it will keep deprecated files.

Landong replied 2 years ago

So I’ve updated to V3 finally got it working, not sure what’s going on it was working just fine, then suddenly it stopped working saying i needed to assign chunk layers. so i did and now the terrain never generates, no error or warnings.

Landong replied 2 years ago

Ok i think i’ve sorted out the cause, you may want to bugcheck this, When you generate the terrain in the editor, it works the first couple of times, however it does not look like it’s clearing the memory so each time i regen it using the editor it sucks up more and more memory until it fails to generate terrain. Once i close and relaunch unity it works just fine again.

uTerrains Staff replied 2 years ago

Thanks for your precious feedback! I’ll get a look at this bug asap.

Landong replied 2 years ago

Np, Made a nice Biome Selector using Veroni noise, pretty cool to see transitions between grassy, mountainous and desert areas.

Landong answered 2 years ago

Landong answered 2 years ago

This is more or less where i’m at with the one i’m writing, anyone know of a good way to blend out those jagged areas?