summaryrefslogtreecommitdiffstats
path: root/2ner.shader
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 /2ner.shader
parent77ae276b2b6e47d0de8bf0d9c4bbafd4212135b1 (diff)
add rough ability to nudge tessellation heightmap direction
Diffstat (limited to '2ner.shader')
-rw-r--r--2ner.shader4
1 files changed, 4 insertions, 0 deletions
diff --git a/2ner.shader b/2ner.shader
index 1dc1bdc..55d08a4 100644
--- a/2ner.shader
+++ b/2ner.shader
@@ -545,6 +545,10 @@ Shader "yum_food/2ner"
_Tessellation_Heightmap("Heightmap", 2D) = "black" {}
_Tessellation_Heightmap_Scale("Scale", Float) = 1
_Tessellation_Heightmap_Offset("Offset", Range(-1, 1)) = 0
+ [HideInInspector] m_start_Tessellation_Heightmap_Direction_Control("Direction control", Float) = 0
+ [ThryToggle(_TESSELLATION_HEIGHTMAP_DIRECTION_CONTROL)] _Tessellation_Heightmap_Direction_Control_Enabled("Enable", Float) = 0
+ _Tessellation_Heightmap_Direction_Control_Vector("Direction (normal/tangent/binormal)", Vector) = (1, 0, 0)
+ [HideInInspector] m_end_Tessellation_Heightmap_Direction_Control("Direction control", Float) = 0
[HideInInspector] m_end_Tessellation_Heightmap("Heightmap", Float) = 0
[HideInInspector] m_start_Tessellation_Range_Factor("Range-based factor", Float) = 0
[ThryToggle(_TESSELLATION_RANGE_FACTOR)] _Tessellation_Range_Factor_Enabled("Enable", Float) = 0