diff options
| author | yum <yum.food.vr@gmail.com> | 2025-03-25 18:12:12 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-03-25 18:12:12 -0700 |
| commit | f46f3023bb716950db30b48c245c82ad2d6ad2a3 (patch) | |
| tree | 8b35e27b0113247ba0698e45e5c2faa4915fe4f3 /2ner.cginc | |
| parent | 2d49d9db4712ae3cbd604ec7c9f8627e4f74bde6 (diff) | |
Begin sketching out tessellation feature
Diffstat (limited to '2ner.cginc')
| -rw-r--r-- | 2ner.cginc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)
|
