How can I make a landscape auto-material that works with the new PCG Splines for paths.

I have taken advantage of an auto-material that does grass with foliage which looks great.
I would like to remove the foliage underneath a PCG spline pathway, and/or inside a enclosed PCG Spline biome.

1 - If this is possible, how would I reference the spline inside the auto-material?
2 - If not, is there another way to place global foliage efficiently (PCG appears to be very expensive on CPU and FPS)

Unfortunately, I have run out of search-foo on this topic - most resources I find only touch the very basic of each concept (auto-materials with foliage vs the new procedural content method) and nothing seems to cover combining the ideas.

Current result:

Apply brushify to the world, grass texture and grass static_mesh appear everywhere.
Apply PCG spline to an area that places new static mesh on Landscape to simulate the appearance of a path.
Grass grows “through” the static mesh.

Desired result:

Apply brushify to the world, grass texture and grass static_mesh appear everywhere.
Apply PCG spline to an area that removes the existing texture and static_meshes applies a path texture with pebbles static_mesh instead.
Apply PCG close spline to create a new biome, removing all pre-existing foliage and applying new texture.

Any ideas and input appreciated.

Thanks
Cremora

1 Like

If you’re still looking for a solution I found this video which should show the method: https://youtu.be/RBFvkfZxJJk?si=QWepY8AUeM2Lcl3x&t=1403

I’m trying to find a way to procedurally spawn grass on top of an imported site model and only add grass to specific parts of the imported model that have the 2D grass material applied. If you can think of any possible solutions let me know! This would be for ArchViz so I’ll have to reimport the model several times and don’t want to have to manually paint grass. Wish UE5 had a tool for 3D grass materials like Lumion has.

1 Like

Hi Ryan,

I’m also working in Arch-Viz and have been pursuing a solution to 3D Grass like you mentioned. Did you have any luck finding a way to replicate Lumion’s 3D Grass? I feel PCGs could be a good route, but the tool seems to be changing so frequently, it’s hard to establish a solid workflow/custom tool for that.