logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

WorldMachine + UE4: Full Workflow

Ruslan Nazirov showed how you can create a very pretty landscape in World Machine and import it into Unreal Engine 4.

Ruslan Nazirov showed how you can create a very pretty landscape in World Machine and import it into Unreal Engine 4. Ruslan started working with Unreal Engine only a year ago, but he’s already showing some fantastic results.

Landscape creation workflow for UE4.

1.Create required landscape in World Machine. I’m using GeoGlyph macro library to speed up the whole process of landscape development.

2. Create required height maps for landscape layers. You can use default erosion outputs, like Flow, Wear, Deposition maps. Or you can use some external macroses, like ReFlow from GeoGlyph. Then you need to connect these maps to Splat Converter to enforce proper splat map weighting.

3.In this stage, you can start colorizing your landscape to get an idea of material distribution on the landscape. You can also start searching for proper textures for your landscape in this stage because in UE4 instead of plain colors you should use them.

4. Next, you need to export heightmaps for landscape and for your layers (you will use them to get proper material distribution on the landscape in UE4).

5. After that, you should create a proper material for landscape in UE4. It’s a complex thing and I’ll try to give some advice on it. First, you should use different tiling values for textures which should be based on camera distance. In this case, distant areas of the landscape will use stretched versions of textures to prevent visible repeating of textures.

6. Landscape material usually contains multiple layers and you should create a definition for each one. You can do a simple material setup for tests, like this one.

7. Repeat this for each layer and use Landscape Layer Blend node to mix them into one.

8.You can enhance your layers’ setup with more parameters and use proper Ambient Occlusion, Roughness and Displacement maps to add more details to your landscape.

9. You can use distance-based tessellation to drastically increase performance when you’re using a displacement map. Use the code below for tessellation multiplier input. Keep in mind that you also should disable adaptive tessellation and crack free displacement checkboxes in material parameters.

10. Instead of painting grass manually, you can use one of the exported layers from World Machine. To do this, you should use Grass node and populate it with your layer sample (use the same name like in landscape layer blend node). Also, you need to create Landscape Grass Type asset to setup parameters for your grass, like density, size, etc. Basically, you can use this thing not only for grass but for rocks, trees or other objects on the landscape.

11. When your landscape material is ready, it’s time to import your landscape. Open Landscape tab in modes window. Select import from file. Select your landscape material. Select height map for landscape, which you created in World Machine. Create Layer Info for each layer (Weight-Blended Layer). And for each layer info select proper layer map, which you made in WM. You can adjust Scale for your landscape if required. After all of these actions click import and you will get a landscape with your created material.

12. After that, you can start adding object and details to your landscape and create lighting and post-process setups. There are many other things, which you probably will need to do for your landscape. For example, it’s a good idea to make distant low-poly landscape meshes to extend visual borders of your landscape. Keep experimenting and you will achieve required result. I hope you’ve found some useful information here, which will help you to make your own worlds with UE4.

Join discussion

Comments 15

  • Jerry

    Is there a tutorial or example proj DL for this?

    0

    Jerry

    ·5 years ago·
  • Anonymous user

    I do not have bassic render how to be?

    0

    Anonymous user

    ·6 years ago·
  • Helpman

    Does it have to be non-weight-blended?

    0

    Helpman

    ·6 years ago·
  • Jericho

    Not working for me :(
    Is the layer blend mode set to weight blend?

    0

    Jericho

    ·6 years ago·
  • P!XEl

    @Randal M Woody Do you mean the background mountains? Try making them inaccessible by blocking them off with trees or similar objects.

    0

    P!XEl

    ·6 years ago·
  • Anonymous user

    Beautiful! Distance Scale is an issue. Maybe I am not doing it right! The mountains look really good from a distance but when you approach them your character seems about 8 times the size of King Kong!

    0

    Anonymous user

    ·6 years ago·
  • Jeff

    I just based my landscape material on this. I just wish I could exactly figure out what is going on with normals, ao and displacement here.

    0

    Jeff

    ·6 years ago·
  • Umut Piynar

    I wish there is a tutorial.

    0

    Umut Piynar

    ·6 years ago·
  • Anonymous user

    @ J.J - "1e+04" is a scientific notation/number.  You can convert these numbers to "regular" numbers, using a tool like: http://www.easysurf.cc/scintd.htm

    For your reference, that number is 10,000 ;)

    0

    Anonymous user

    ·6 years ago·
  • Sanusi Asadullah

    so where will I plug the tessellation node into?

    0

    Sanusi Asadullah

    ·7 years ago·

You might also like

We need your consent

We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more