summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-04-11 19:17:06 -0700
committeryum <yum.food.vr@gmail.com>2025-04-11 19:17:06 -0700
commita522e7738d75e84cc1ee1491a098421622ef1918 (patch)
treec08951cdd65f3eccadc17d57d97ea24d7b0b750f /globals.cginc
parent77ae276b2b6e47d0de8bf0d9c4bbafd4212135b1 (diff)
add rough ability to nudge tessellation heightmap direction
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 62bbdee..5530d41 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -457,6 +457,10 @@ float _Tessellation_Heightmap_Scale;
float _Tessellation_Heightmap_Offset;
#endif // _TESSELLATION_HEIGHTMAP
+#if defined(_TESSELLATION_HEIGHTMAP_DIRECTION_CONTROL)
+float3 _Tessellation_Heightmap_Direction_Control_Vector;
+#endif // _TESSELLATION_HEIGHTMAP_DIRECTION_CONTROL
+
#if defined(_TESSELLATION_RANGE_FACTOR)
float _Tessellation_Range_Factor_Distance_Near;
float _Tessellation_Range_Factor_Factor_Near;