summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-10-17 20:51:32 -0700
committeryum <yum.food.vr@gmail.com>2025-10-17 20:51:32 -0700
commit98e115ebfc40e72a8ee1c6453735d8f6076f7890 (patch)
tree70910197508a860adc505ef545d8d8825d48b98b /globals.cginc
parent5bfbb660c7213cdd14c9bde2349b3a09ccdaff4e (diff)
tessellate in screen space, and add sine wave deformation effect
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc7
1 files changed, 7 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index c460285..2a4410f 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -74,6 +74,13 @@ float _Vertex_Deformation_Seal_k;
float _Vertex_Deformation_Seal_t;
#endif // _VERTEX_DEFORMATION_SEAL
+#if defined(_VERTEX_DEFORMATION_SINE_WAVES)
+float4 _Vertex_Deformation_Sine_Waves_Amplitude;
+float3 _Vertex_Deformation_Sine_Waves_Direction;
+float4 _Vertex_Deformation_Sine_Waves_k;
+float4 _Vertex_Deformation_Sine_Waves_omega;
+#endif // _VERTEX_DEFORMATION_SINE_WAVES
+
#if defined(_UV_SCROLL)
float2 _UV_Scroll_Speed;
#endif // _UV_SCROLL