From 4885fb42bd42f5dfb7fdc198bd0cc42be7959aaf Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 24 Jan 2026 15:03:30 -0800 Subject: Remove worldPos interpolator --- tessellation.cginc | 1 - 1 file changed, 1 deletion(-) (limited to 'tessellation.cginc') diff --git a/tessellation.cginc b/tessellation.cginc index a80bf9c..d5b106a 100644 --- a/tessellation.cginc +++ b/tessellation.cginc @@ -194,7 +194,6 @@ v2f domain( o.objPos = applyHeightmap(o.objPos, o.uv01.xy, o.normal, o.tangent); o.pos = UnityObjectToClipPos(o.objPos); - o.worldPos = mul(unity_ObjectToWorld, o.objPos).xyz; //UNITY_TRANSFER_LIGHTING(o, v); UNITY_TRANSFER_INSTANCE_ID(patch[0], o); -- cgit v1.2.3