11-05-2021, 08:47 AM
Hi,
Please try what I suggested before. Replace sampler2D_float _MainTex; with UNITY_DECLARE_DEPTH_TEXTURE(_MainTex);
Let me know if this works.
Please try what I suggested before. Replace sampler2D_float _MainTex; with UNITY_DECLARE_DEPTH_TEXTURE(_MainTex);
Let me know if this works.