1

First, if we want to get the object's world position, we need its world matrix. That's passed in automatically as unity_ObjectToWorld when rendering normally, but since we're drawing with Graphics.Blit we need to provide it ourselves. Add a uniform like this above your vertex shader, where you're defining your _Coordinate uniform (which should be a float4, ...


Only top voted, non community-wiki answers of a minimum length are eligible