From f65f4b6e07b47115911bf33deb90597e201c1066 Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 18 Oct 2025 13:43:51 -0700 Subject: add fbm deformation effect --- globals.cginc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 75030ac..fd865dc 100644 --- a/globals.cginc +++ b/globals.cginc @@ -81,6 +81,15 @@ float3 _Vertex_Deformation_Sine_Waves_k; float3 _Vertex_Deformation_Sine_Waves_omega; #endif // _VERTEX_DEFORMATION_SINE_WAVES +#if defined(_VERTEX_DEFORMATION_FBM) +float3 _Vertex_Deformation_FBM_Velocity; +float _Vertex_Deformation_FBM_Amplitude; +float _Vertex_Deformation_FBM_Gain; +float _Vertex_Deformation_FBM_Lacunarity; +float _Vertex_Deformation_FBM_Scale; +float _Vertex_Deformation_FBM_Octaves; +#endif // _VERTEX_DEFORMATION_FBM + #if defined(_UV_SCROLL) float2 _UV_Scroll_Speed; #endif // _UV_SCROLL -- cgit v1.2.3