r/Unity3D • • 2d ago

Question Cliffs and Caves Issue

Post image

Hi guys! I’m a beginner developer making a snowboarding game called Windbreak. I’ve been struggling to find tools in making structures like cliffs, ice caves and overhangs in Unity for my terrains. Yes I have used Digger which is very slow and clunky and basically doesn’t work for me due to the way it combines meshes and textures. I wish Unity would just make native Cliff and cave tools because I’m really struggling to make my level design more interesting without cliffs/caves, because of this I have gotten very creative with the engines terrain system but it won’t be enough for my vision. Does anyone have any solutions thinking outside the box? My last resort I can think of is making the caves themselves in blender but meshing them with Unity’s in engine terrain mesh will be a nightmare. Any input is appreciated since I am learning as I go!

10 Upvotes

10 comments sorted by

4

u/FranzFerdinand51 2d ago

Unity’s terrain inherently doesnt support what you want, which means you either 1) drop ot entirely and use another system, such as modelling in blender or 2) make holes in the unity terrain and model your caves in blender.

Why is it a nightmare to combine them anyway? That’s literally what almost all games do ffs. Nothing nightmarish about it.

3

u/MrFutureCooper 2d ago

What other system would you recommend? Digger claims to be able to combine them cleanly but the editor itself is so buggy/laggy that making anything that doesn’t look clunky is basically impossible. I just can’t see a clean way to use blender for the caves other than to just make the whole level in blender which for a beginner like me would be HARD with all my textures with different properties (deep snow, powder, ice etc.) I’m praying for some kind of third option, or I’ll just message the guy who made digger and complain since I don’t think he’s updated it in years…

3

u/BuzzardDogma 2d ago

Nearly every game ever made that includes cliffs and caves does so by combining models and terrains. The reason you can't do it with the terrain itself is more a by-product of the way terrain rendering is optimized than an intentional lack of features.

If the texel density of your cave and cliff models is similar to that of your terrain then making them fit together seamlessly usually isn't too difficult. It's also pretty common to use prop and detail meshes to hide transitions between the two that aren't working in isolation.

I haven't used digger so I don't know what it's doing that you don't like. Maybe post some screenshots.

1

u/Just__Bob_ 1d ago

Digger is the best solution I used but it is far from perfect.

2

u/Pitiful_Airport_ 2d ago

oh that inverted trick looks clean, the purple top really pops against that sky

2

u/MrFutureCooper 2d ago

Thank you bro! You can follow the dev on instagram @play.windbreak I just started uploading about it

2

u/GigaTerra 1d ago

I pointed this out the other day, but the way cliffs are made is using meshes: https://i.imgur.com/eNzNjRw.jpeg

The way caves are made is the same, except you will see under the terrain brush there is an option to paint holes. The holes allow you to place cave meshes under the terrain: https://i.imgur.com/d7VHkTg.png It is the same as making golf holes https://i.imgur.com/lkmYpFA.png -> https://i.imgur.com/I01I11Y.png -> https://i.imgur.com/3Tkztne.png you might need to bend the mesh to make it looks smooth.

I wish Unity would just make native Cliff and cave tools 

The truth is the Heightmap terrain system used by Unity and Unreal are the best in terms of gameplay smoothness. As you will find as you try many other solutions and even fancy volumetric terrains, they all have their problems. Cutting holes in terrains and using meshes, for cliffs is the AAA solution.

2

u/MrFutureCooper 1d ago

You seem very knowledgeable and kind and I greatly appreciate your comments, so I want to ask you something. I’m pretty sure all of the games mine is inspired by used one huge mesh for the levels cliffs, main level and caves, I’m pretty sure they were all one in games like SSX3 and 1080 Avalanche for the Nintendo GameCube. Or are you perhaps saying they weren’t or that that method is outdated? Looking forward to your input.

1

u/GigaTerra 1d ago

used one huge mesh for the levels cliffs... Games like SSX3 

In those days they did use meshes. They would stack them like a snake made of stairs. https://imgur.com/a/tu9yOro (quick example). You can still use this, just combine it with Unity additive scenes to load and unload scenes and objects as needed.

However it is true that modern snowboarding games would not use a map like that, but they did loose some of that feeling. However here is the thing, you can also combine both, if you want lots of cliffs and ledges then make those entire pieces an mesh, that take advantage of additive scenes and LODGroups to manage your game resources.

1

u/redfoolsstudio_com 1d ago

Freaking amazing photo of your game!