Splatmaps for Unity in WM Build 3028

I am attempting to export a height map and splat map from World Machine to Unity. I am following the workflow tutorial found here:

https://www.world-machine.com/learn.php?page=workflow&workflow=wfunity

I am having an issue exporting a splat map. The tutorial says to use the Splatmap converter device. An example of the device is called “Splatmap Converter.tmd”. My build of World Machine (3028) does not include that file. The only project that includes Splat in the name is “Basic Splatmap Example.tmd” and the only macro is “Basic Splatmap.dev”.

These missing files create an issue for me on step 3 when attempting to convert individual maps into a bitmap using a Channel Converter. The outputs from my "Basic Splatmap.dev macro does not seem compatible with the channel converter (as in, I can’t input wires to it from the Basic Splatmap macro).

Does anyone have Splatmap Converter.tmd or an updated workflow to export splatmaps from WM to Unity?

I figured it out with several deviations from the Unity Workflow tutorial:

  1. In World Machine, create a Splatmap in work machine by using Height selectors and channel combiner devices per this tutorial. https://www.youtube.com/watch?v=v4BX36F0Gss
  2. Using Unity 2019+ and Terrain Tools package, import splatmap asset into Unity. Set import settings as follows:
    Go to the Inspector for that imported splatmap and change the following settings:
  • Texture Type: Default
  • Advanced/Read/Write Enabled: checked
  • At the bottom, go to Default/Format: ARGB 32 bit
  • Hit apply
  1. Open the Terrain Toolbox tab in Unity, Go to Terrain Utilities tab, open Terrain Splatmaps and set the SplatAlpha 0 as the newly imported splatmap. Use rotate and flip buttons as needed in combination with “Preview Splatmap” to adjust orientation.

Thank you.

Hi there,

It looks like the example file showing how to create your own splatmaps manually didn’t make the distribution, but it should; this is an important thing to know how to do!

I’ve attached the example file mentioned in the tutorial here.

Splatmap Converter.tmd (20.8 KB)

The Splatmap Converter device itself has been renamed to “Texture Weightmap” and can be found in the Converter device type menu. It will ensure that your textures sum-to-one correctly for Unity and UE4 type material distribution maps.

This is very helpful. Thank you Stephen.

1 Like