How can I exclude a portion of a sampled static mesh in Niagara?

So what I want is very straightforward, normally very easy to do: put a bunch of particular meshes using a Mesh Renderer in the emitter on the surface of another mesh (Sample Static Mesh). But here’s the catch: I only want these particles to be on certain portions of that mesh; the particles will basically be berries, and I want there to be more along the branches of tree (the sampled mesh) the further to the end they are on the branches.

I can tell this is possible, because in the “Sample Static Mesh” module it has this little field called “Section Filter” where one can presumably specify material slots to be whitelisted. However, when I enter anything in those fields, nothing is changing, despite having set up the material slots correctly in my static mesh.


Any advice? Or maybe a better way of accomplishing this in Niagara?

Hi Maladrum. Did you solve that?

Hey OrfWare; unfortunately not. :frowning:


I just ran into this problem.
I solved it by editing the SampleStaticMesh Niagara module. It wasn’t calling the Filtered function.

In Mesh Sampling Type, choose Triangles and using Random (Section Filter) Mode.