Is there a way to convert the "Quick Texture" macro to a Splat Map?

I like the “Quick Texture” macro’s effect and I’m wondering if there’s an easy way to output the individual channels from that as a splat map or individual masks for use in UE4?

When I use the “Basic Splatmap” macro, it doesn’t seem to capture the detail that the Quick Texture macro has.

It would be nice to avoid having to manually set-up all of the selection masks–the “Quick Texture” macro seems like it has everything I need. If only I could find a way to quickly output the masks that it’s creating behind the scenes…

Thanks!
-Michael

So, there is no way to automatically do this. However, I can tell you that the Quick Texture macro is fairly simple inside and very amenable to becoming a splatmap instead.

Here’s how I’d do it:

Open up the macro by selecting “enter device”.

The macro functions by combining together Select Wetness and Select Slope and using that to drive a colorizer of your choice. It then mixes in the provided erosion mask atop that.

So, to make the output a splatmap instead, I’d take the mask driving the colorizer and use it to produce 3 bands of material, roughly corresponding to the bottom, middle, and top of the color range. The “Height Splitter” device is perfect for this.

The 4th splatmap channel will then be the same erosion mask used in the device already.

Feed all of those channels to a Texture Weightmap device and, you’re done! Just pipe out the rgba bitmap and put it to a bitmap output device (or use individual weight channels if needed)

Which looks like:

This is brilliant! Thank you so much for this nuanced reply! I can’t wait to try this out.

-Michael

Hi Stephen, could you confirm that I have the settings correct for the Quick Texture Out properties? I’m not seeing the splat map appear for some reason…

0 Texture Output RGB bitmap
1 Wetness Map Heightfield
2 Erosion Heightfield

I also set the Material Map Properties to have an Output type of “Material ID” to match your screenshot.

I have to stick with Mt Rainier Build 4020 for now, thanks.
Here’s the WM source file: Dropbox - Mountain_Variation_07_v02a.tmd - Simplify your life

Thank you so much for your help!

-Michael

A few things:

  • Set the datatype of the 3rd output to “Any”; WM won’t transmit data out of the macro that doesn’t match the datatype you specify.
  • Also, by default WM will always show the first output of a device when you click on it. Since your splatmap is the 3rd output, you won’t see it unless you click on the 3rd port of the macro.
  • What form do you want your weightmaps in? A Packed bitmap, an ID bitmap, or individual mask files? My example used a packed RGBA splatmap output from the texture weightmap device. I can’t remember exactly at the moment, but I believe this option was introduced in Artist Point. You can create the same thing by outputting individual channels from the texture weightmap device and then combining them using a Channel Combiner to create the rgb bitmap if that’s the form you’re looking for.
1 Like

A packed map would be most efficient in this situation. I don’t see an option to add the 4th channel/Alpha in the Channel Combiner node though…

The RGB+A datatype was added in Artist Point. For 4020, you’ll need to pipe the 4th channel into the alpha channel of the bitmap output device seperately.

I’ve adjusted the world you posted above accordingly:
Mountain_Variation_07_v02a_splatmap.tmd (617.4 KB)

1 Like

Thank you so much for all of your help. I got it all working!