In Mantra

I'm trying to mask out shadows on objects with a per-point or per-primitive attribute. Essentially, I'd like to paint masks on objects saying, “No Shadow here!”

Also being able to remove self-shadowing, not just shadows from other objects.

Anyone have any idea how to go about this?

I came across this method…
https://vimeo.com/253524581 [vimeo.com]

But it only allows for the controlling of the object casting the shadow. Not the object receiving the shadow.