Material based foliage

Is it possible to create a material that has foliage automatically assigned to it at a certain density?

A lot of games do this with grass. This way you don’t have to paint over the same area twice and can modify a global density for your scene.

Can anyone point me in the right direction?

Thanks!

Hey TimeSpirit -

If I am understanding what you want to do, you could take the random foliage blueprint from Blueprint Office Content Example in the marketplace and instead of a particular radius have it check for a particular applied material to a mesh or landscape and then have it generate meshes only in those areas.

Awesome, thanks Eric. I’m not sure how I missed that. Can you point me in the right direction for what function I can use for material detection?

Also- I’m concerned about performance, since these models aren’t entered through the foliage tool they lose the clustering/culling benefits- right? Any way to access those?

I know culling volumes and mesh lod’s would help I assumed that was inferior to foliage settings.