Author Topic: Basic Splatmap Macro  (Read 9553 times)

0 Members and 1 Guest are viewing this topic.


  • Author
  • World Machine Guru
  • *****
  • Posts: 2320
    • View Profile
Basic Splatmap Macro
« on: May 30, 2014, 02:55:13 PM »
Hi Folks,

I've uploaded a new "Basic Splatmap" macro to the library, suitable for people using Unreal Engine, Unity or other realtime engines that need texture weight maps.

The Basic Coverage macro from which it is derived has proven a very convenient way to create simple textures, and this macro extends the concept to produce Splatmaps as well.

An example file showing how to use is included here for your convenience!

Here's the link to the library entry:

Basic Splatmap Macro
-- Stephen Schmitt
- Creator of World Machine


  • World Machine Guru
  • ****
  • Posts: 50
    • View Profile
Re: Basic Splatmap Macro
« Reply #1 on: June 01, 2014, 10:52:18 AM »
Hi Stephen,

Thank for this and i will give it a try since this week i will be starting the splatmap extraction.

Regards Peter


  • World Machine Guru
  • ****
  • Posts: 87
    • View Profile
    • Portfolio / Blog
Re: Basic Splatmap Macro
« Reply #2 on: February 20, 2016, 01:52:17 AM »
I have a question regarding this.

If I do not connect anything to the alpha input of the bitmap output, everything looks fine. But I'd want a fourth channel of information.
When I connect stuff into the alpha channel, the image output is transparent. There is no alpha channel, but rather a stripped RGB image.

This makes this macro a bit unusable in some cases. Or am I just thinking about this the wrong way?

In a game engine such as Unreal or Unity, you'd normally want RGB to drive where textures appear, and the Alpha channel could also drive a fourth texture, but is that possible ?
« Last Edit: February 20, 2016, 01:54:07 AM by OlaHaldor »
Windows 10 Pro | i7 5960x | 128GB RAM | GTX 1080


  • Community Member
  • **
  • Posts: 11
    • View Profile
Re: Basic Splatmap Macro
« Reply #3 on: February 28, 2016, 10:47:11 AM »
R G B and A channels will keep their information
even if your alpha makes image look super transparent, data in R G B is preserved - it is only a matter of "how you are previewing and displaying alpha channel"
so you can have all 4 splatmap channels and not worry at all :)


  • World Machine Guru
  • ****
  • Posts: 425
    • View Profile
    • Blog
Re: Basic Splatmap Macro
« Reply #4 on: February 28, 2016, 11:08:20 AM »
Alpha layer is for carrying transparency information. So naturally if you put a mask in there, it automatically makes the pixels invisible. Information is still there. Inside engine, check if in your texture settings, alpha is not checked pre-multiplied. If it is set to pre-multiplied, the pixels are deleted permanently, instead of being invisible. World machine exports alpha as a separate layer.