is there way to distribute foliage on static mesh based on texture like landscape

Pleas help! is there way to distribute foliage on static mesh based on texture like landscape?

Hey @ddalaitseren1!

Are you meaning to place foliage based on specific heights? Making foliage change colors? Or something else?

Any additional specifics you provide may go a long way in solving your problem!

hi there! i mean we can populate foliage on landscape using landscapelayerblend, and landscapelayersample right? like when we paint certain connected texture on landscape corresponding grassptype foliage appears. how can i do something like this on static mesh. example i want to scatter foliage on red material
image_2023-11-29_205236398

i can recommend this tutorial here which is about that, is unreal 4.27 should be compatible with 5 (except the menu looks a bit different). https://www.youtube.com/watch?v=G6pACRjxLzY

This node

image

I think you need the geometry script plugin enable for that.

Another thing you can do is write the texture to a render target, and read that

Hey @ddalaitseren1,

Checking in! Were the answers above the solution you needed?