Hi, I'm bit of a shader noob and I'm sure what I'm trying to achieve is simple but I just can't seem to find the right nodes. Here's what I'm trying to do:
I want to define an arbitrary point in object space, convert that into screen space coordinates, and then take the distance between that screen space point and the screen space coordinates of a fragment to decide whether I should keep or discard it with an opacity mask. I'm really struggling with the first part, as there does not appear to be an object to screen node.
Would also like to know if there is an easy way to get renderer bounds information (e.g. size) into ASE.
Any help would be appreciated.