• Welcome to World Machine Community. Please login or sign up.
 
September 17, 2019, 09:28:05 am

News:

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


Need help: Output mask artifacts - Can't get rid of them

Started by LS_Quest, October 04, 2018, 08:07:47 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LS_Quest

Hello WM'ers,
   So I have this annoying 'artifact' / 'ghosting' thing happening on my Output masks that I'm importing into UE4.  The issue is clearly with WM and not UE4; I only attached the UE4 screenshots to further illustrate the issue. 

First pic, as you can see, the ghosting is occurring to the right of the main mask. 
Second pic is screenshot in UE4.
Third pic is screenshot of overhead in UE4.
Forth pic is a screenshot of WM Device View.

I have been working with this for about a month now, and just can't seem to pinpoint the origin.  I've tried multiple output methods, starting over from scratch, I even deleted and reinstalled WM, all with the same results.    If you have had this issue and fixed it, or have some insight, please advise.  Thank you for reading.

Dan

WFab

Wm masks tend to be smooth around the edges, which creates problems when exporting to engines that have optimizations in engine that handle alpha differently, especially when you export masks in an 8 bit format. Try to keep your masks at 1 and 0, no halfway greys. You can get away with small amounts, thin bands, for smooth transition. Use bias/gain device for cleaning up the mask. I don't have extensive knowledge of how UE handles alpha, but this is a common problem all around.

LS_Quest

Thank you for the reply, WFab, it caused me to re-think my entire strategy.  I did some experimenting with Bias/Gain, multiple selectors, but no change.  It turns out, the Clamp node that's used to Normalize the terrain was the culprit (there is a warning that comes with the node referencing tiled builds).  Is there a substitute for the Clamp/Normalizer that works with tiled builds?  Now the terrain is relatively flat compared to Normalize turn on. 

WFab

You can again use Bias/gain device to manually tweak the height and contrast. That shouldn't create problems with tiled builds.

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