• Welcome to World Machine Community. Please login or sign up.
 
August 21, 2019, 06:45:54 am

News:

Read the Development Diary for an inside look at World Machine's progress!


Basic Splatmap Macro

Started by Stephen, May 30, 2014, 02:55:13 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stephen

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

peter_sim

Hi Stephen,

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

Regards Peter

OlaHaldor

February 20, 2016, 01:52:17 am #2 Last Edit: February 20, 2016, 01:54:07 am by OlaHaldor
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 ?
Windows 10 Pro | i7 5960x | 128GB RAM | GTX 1080

Xenobite

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 :)

WFab

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.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview