diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-20 22:15:09 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-20 22:15:09 -0800 |
| commit | a54b415ab89302cf1f74f78360595ec0eff8fc7b (patch) | |
| tree | 678cd3c8076c0c8995d6e1033f401738a22c1bea /tessellation.cginc | |
| parent | d24a5d839bad7ae0a9a6525f7c4d30fa0877e073 (diff) | |
Push eyeVec into fragment
Diffstat (limited to 'tessellation.cginc')
| -rw-r--r-- | tessellation.cginc | 2 |
1 files changed, 0 insertions, 2 deletions
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); |
