I have this MASH network where I want to control the visibility of the individual points by whether they’re visible to a camera or not.
How would I go about doing this?
This is an example of kind of what I need to do: https://www.youtube.com/watch?v=BrfRSx7ObL0
Though I would also like MASH network objects that are behind other objects to be hidden.
Edit:
So I figured out a solution for this which worked in our case.
What I basically did was attach a VRay rect light with 1.0 Directional and turned off all other light. I then combined all the geometry the MASH objects where to be scattered on, did an automatic UV mapping and then baked out the lighting for every single frame we were doing, saving those maps and naming them after which frame they represented.
I then used that image sequence as the texture mask for the MASH distribution.
Potentially there’s a better way to do this, but this worked at least!
