How to make valleys/crevaces in Unity's terrain?

So, I think I learned today that I can’t put valleys in my terrain because the terrain won’t go below zero height? Is this true? Do people just automatically know to add a ton of height to their terrain when they start making a game so they have a way to make valleys or canyons later on?

I hope I’m just missing something and I can actually lower my terrain. Otherwise, I have to start all over with my terrain and make sure to add a ton of height to it straight from the beginning?

How I am doing it:
Sculpt in Blender or ZBrush or Mudbox etc.
Bake heightmap in XNormal or similar
Add details in Photoshop or World Machine
Use ats color map shader (free in Unity store), Ultra version looks good too

You can raise the terrain in the terrain settings. But do that first. Otherwise: http://wiki.unity3d.com/index.php?title=RaiseHeightmap

–Eric

Hmmm, man. That’s too bad. :cry:

Well, now I know for next time I guess :roll:. Thanks for the help though Photon and Eric, as always, I appreciate the help :slight_smile:

If your planning on things like caves and such, Unity terrain cant do that. Valleys and such, just use a heightmap for detail.

Ya I’m not planning on doing caves or tunnels or anything like that chris. I just want to do some canyons and deep crevaces to add some depth to my game. But the problem is that I already have my terrain modified how I want, plus buildings, trees, and tons of units on it. The units adjust to my terrain height automatically via scripting, so they’re not a big problem, but my buildings and trees would all have to be adjusted individually. And the hills/plateaus I already detailed out would have to be re-done.

Overall, just kind of a hassle and will take lots of time. But ya, I’m just wanting to do valleys and canyons :slight_smile:

With the script Eric posted though, I think that would at least keep my hills/mountains intact, so that’s a plus.

Heightmaps for sure. Here are some of my latest terrains.





Really just takes some time, get a good terrain or heightmap going and make it look sexy in Unity. If you’re interested in my workflow pm me, I also might do some videos for beginners.

2 Likes

Nice work Khelton! Wow.

For sure, I’d like to learn a little more about how you do that. I think, mainly though, I’d be interested in the lighting and what terrain shader(s) your using?

That looks impressive :smiley:

Default terrain, no extra shaders or anything. I used Tom’s Terrain Tools for splatmaps, but there are free splatmap shaders around somewhere. Lighting is 3 different Directional Lights. Main light, secondary light and a third light to lighten the dark areas. It faces the opposite way of your normal lights, around 0.1 intensity. Usually a blueish colour.