From a54b415ab89302cf1f74f78360595ec0eff8fc7b Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 20 Jan 2026 22:15:09 -0800 Subject: Push eyeVec into fragment --- tessellation.cginc | 2 -- 1 file changed, 2 deletions(-) (limited to 'tessellation.cginc') diff --git a/tessellation.cginc b/tessellation.cginc index e3bccb2..a80bf9c 100644 --- a/tessellation.cginc +++ b/tessellation.cginc @@ -195,8 +195,6 @@ v2f domain( o.pos = UnityObjectToClipPos(o.objPos); o.worldPos = mul(unity_ObjectToWorld, o.objPos).xyz; - o.eyeVec.xyz = o.worldPos - _WorldSpaceCameraPos; - o.eyeVec.w = 1; //UNITY_TRANSFER_LIGHTING(o, v); UNITY_TRANSFER_INSTANCE_ID(patch[0], o); -- cgit v1.2.3