diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-24 15:03:30 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-24 15:03:30 -0800 |
| commit | 4885fb42bd42f5dfb7fdc198bd0cc42be7959aaf (patch) | |
| tree | 1e8f9eea89eda456244690654608eaca39c6e760 /tessellation.cginc | |
| parent | 97ee1dcf26b62f48e351b6392c11a30775619442 (diff) | |
Remove worldPos interpolator
Diffstat (limited to 'tessellation.cginc')
| -rw-r--r-- | tessellation.cginc | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
