Object Screen Position Material Opacity

Hello everyone!

I want to drive the opacity of an object based on the distance from the center of the screen. I also want the flexibility of using a screen-aligned greyscale texture to drive the object’s opacity.

I COULD calculate this on the actor tick and use “World Position to Screen Position” node, but it would be cheaper as a material calculation. I just don’t know where to start with this one.

Bump. Any material wizards out there?