From f46f3023bb716950db30b48c245c82ad2d6ad2a3 Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 25 Mar 2025 18:12:12 -0700 Subject: Begin sketching out tessellation feature --- 2ner.cginc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '2ner.cginc') diff --git a/2ner.cginc b/2ner.cginc index bc3813b..10b41a8 100644 --- a/2ner.cginc +++ b/2ner.cginc @@ -16,6 +16,7 @@ #include "poi.cginc" #include "shatter_wave.cginc" #include "ssfd.cginc" +#include "tessellation.cginc" #include "yum_brdf.cginc" #include "yum_pbr.cginc" #include "yum_lighting.cginc" @@ -129,6 +130,9 @@ v2f vert(appdata v) { o.pos = UnityObjectToClipPos(v.vertex); #endif +#if defined(_TESSELLATION) + o.tpos = v.vertex; +#endif o.uv01.xy = v.uv0; o.uv01.zw = v.uv1; #if defined(_MIRROR_UVS_IN_MIRROR) -- cgit v1.2.3