Landmass - Paint Weight Bug with Blueprint Brush?

Hello there,

I experience strange behaviour with the Landmass Plugin when I want to paint a certain color with a brush.
The green colored layer is populating the landscape with grass (set in the material).
Expected behaviour: Only grass where I have green color, every other color should mask out green color and delete grass.

on the left side, the pink color is painted with a landmass blueprint brush. it should basically mask out the green color and do NOT draw any grass. the right version of the pink stripe is hand painted which behaves like expected.

the landmass brush does seem to blend in with the other layers. layer order does not effect anything, adding layers in the new layer system does not effect his behavour either.

anyone can reproduce this?

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

I don’t think there’s a bug to report here. I think the issue is there’s more green than you think. The orange area is 50/50 red and green which makes sense. Looks like your grass is populating about half as much in that area. Likewise where it’s appearing on the blue.

I think the issue is that if you want it excluded from the other areas, in your landscape material you should SUBTRACT the samples for blue and red before passing it into your landscape grass node. That should make it populate grass only on 100% green.

PS - don’t forget to clamp it after that subtract; not sure what grass output will do with a negative number!

Hey Tom, thank you very much. I will give that a try.

But the thing is, that I would expect the green and blue color to be completely replaced / overwritten by the red one (like the right version - does correctly)

I will check the masking solution and give a headsup if that worked for me :slight_smile:

Thanks for your reply!

You’re welcome, jwtrp. I was also considering that perhaps you might want to look and make sure your paint layers are weight (instead of, say, alpha) blended. IIRC, weight blended layers automatically decrease the weight of OTHER layers as one layer’s weight increases. That could also result in the behavior you’re seeing, I think.

On a side note, I don’t know why they’re pushing AnswerHub questions off to the bug reports; while it MIGHT be a bug that needs reporting, we as developers rely heavily on the community to find workarounds until new versions bring bug fixes. Many of us are on deadlines and can’t wait for new versions to push out fixes when there might be a workaround the community has found.

Hi!. I know this is an old post but I’m having the same issue with UE4.27. Does your masking solution work? In my case, setting the layer blend weight to a very small number like 0.01 will make it work, but there must a better solution…