I’m wondering if there is a way to filter an operation on its primitive values or on a point value.
Example being. I have a grid and a particle system. I find the nearest particle using neighbors but I only care about it if that particle isn’t part of the grid. So I want to somehow check all the neighbors for a given point and do something like color the grid point if it is a particle.
Here’s a quick and dirty implementation with a shader. I’m messing up the color stuff. I think I’m just using lookup attribute wrong. I could just assign the color in the shader at this point.