How to show the floor's material only under pawns?


I need to make a floor with a material that is only visible under a dynamic number of pawns, the rest of the floor should not be visible.
I found out about the sphereMask function and used it with a Masked material, set the values using a material parameter collection, played around a little bit.

I need to make it work for every pawn being spawned over time.

Here’s a screenshot of what I was able to do:


The Material:

This 2 part tutorial should help:

that’s actually the tutorial I watched to floor visible under the one character. I don’t know how to apply it to multiple characters.

I know this is from 4 months ago but have you figured out the solution yet? I am currently trying to do the same thing.

No, I never got to do it. I no longer need to though, because the game I was doing changed a lot.
I would still like to know how to do it though :stuck_out_tongue:

2 years later, any solution?