I had to make bguv into a float4 instead of a float2, and use tex2dproj instead of tex2d to get this to work. (Similar to example here: https://docs.unity3d.com/550/Documentation/Manual/SL-GrabPass.html) But this is great, really helpful