Custom Terrain Blending Tool for UE4
Events
Subscribe:  iCal  |  Google Calendar
Milwaukee US   17, Jun — 22, Jun
New York US   17, Jun — 20, Jun
St. Petersburg RU   19, Jun — 21, Jun
TBA BR   22, Jun — 24, Jun
Amsterdam NL   25, Jun — 28, Jun
Latest comments
by milesmsith Smith
2 hours ago

Thank you so much for this. I was into this https://akinator.ooo/ issue and tired to tinker around to check if its possible but couldnt get it done. Now that i have seen the way you did it, thanks guys with regards

by Charlotte Delannoy
18 hours ago

Thanks a lot ! Did you give some masterclass of something ?

by Hun Young Ha
20 hours ago

How is the Clovers sit on top between tiles? for mine, blend modes doesnt seem to be working... they follow the height of the tiles which results in extreme distortion of clovers following the height changes of tiles

Custom Terrain Blending Tool for UE4
20 December, 2016
News

A student from Digital Arts and Entertainment (in Kortrijk, Belgium) is developing a tool for UE4 to blend static meshes with the environment as his graduation project. With this tool he wants to remove the harsh seam that player sees when a static mesh intersects with a landscape actor.

It was 2016 GDC talk by Dice about Star Wars Battlefront, which presented in-engine tools to blend together natural meshes and the environment, that inspired the artist. In this presentation DICE showcased some in-engine tools to blend together natural meshes and the environment.

So the solution I currently have is based on the Distance Fields functionality in Unreal 4. I didn’t come up with this idea, I saw a forum-post about someone fusing meshes together by using Distance Fields. I use the DistanceToNearestSurface node to automatically detect the intersection between the terrain and a mesh. I combine this with a noise mask to get a nice procedural material transition.

What really sells the effect is the adjustment of the vertex normals of the mesh. This removes the ugly lighting seam caused by intersecting geometry. To adjust the normals of the mesh to the normals of the surrounding area, I use the DistanceFieldGradient node. This system can be a bit finnicky and took a lot of tweaking to get right, but I’m pretty happy with the result.

I currently have created three variants of this material. One automatically detects the landscape intersection, the second one uses a vertex-paint mask and the third one is a combination of the two. 

You can follow the progress on the tool here.

Author: Artyom Sergeev
Source: Polycount
Comments

3
Leave a Reply

avatar
3 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
garrettoriousNicBThomas Ray Recent comment authors
garrettorious
Member
garrettorious

Are you just setting the normals to Z-up, or are you deriving something smarter from the distance field?

NicB
Guest
NicB

80.lv, Somehow presenting something that has been standard practice for over a decade as a gimmick. Great job.

Awesome job from the person who actually did the work, just a shame 80.lv caters to talentless hacks who love click-bait and one button plugin solutions for everything.

Hushpuppy
Member
Hushpuppy

I love this please release this as a tool into the UE4 updates!