Advertisement

Ugly populated borders in foliage paint

Started by December 07, 2024 01:56 PM
3 comments, last by frob 1 week, 4 days ago

Hey y'all!

I hope you are doing well and have a great day/evening!

I am pretty new in the whole game dev business and most recently wanted to create my landscape with some foliage of curse. I like the flexibility when I use the brush tool for painting the foliage, but I have to confront a problem I can't get rid of: the brush has a very ugly first stroke.

Like as soon as I put the brush down on the landscape for painting, the first moment the border of the brush get's very populated with grass, and the rest.. not :D (see screenshot).

How can I get rid of this problem?

@thelabger this post was off-topic in the Game Design forum. What is Game Design? Accordingly, it has been moved to a more appropriate forum. Before posting again, please familiarize yourself with our various forum topics so you can post in appropriate places, and if you haven't done so already, please review our community guidelines. Good luck with your project, and welcome to gamedev.net.

-- Tom Sloper -- sloperama.com

Advertisement

@TheLabGER Hey, I've only had over a year of experience with UE5's foliage mode but I'll do my best helping you out.

From what I understand I think the issue here is the way you spread your brush, if you crank up the density and drag your cursor too fast, it would create inconsistent patches of grass that end up making ‘borders’. The first press would populate the area you click on as intended, but then if you swipe too fast it would create less due to the cursor practically spending ‘less time’ on that area for it to fully paint.

I'd suggest playing around with the density settings for each type of foliage you have in the scene. If the issue replicates, then see if you can use the 'reapply' tool next to the paint tool to evenly spread out grass in a large area. Or if you think a specific area is too dense, consider the 'erase tool' with the 'erase density' option to reduce/remove only some bits of grass in that area if needbe.

Also, try moving your cursor in circles rather than swiping left and right. GL

Mostly it's not an issue, as those tools are for a first pass. The maps will be fine tuned, adjusted, and cleaned up thousands of times over the process of building levels. Eventually you'll be picking out or adding individual clumps of grass, individual trees and shrubs, and will pretend those bulk painting tools don't exist.

Advertisement