From ddf847e758d9766d33ccc9b1a560a84142e395e0 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 17 Oct 2025 21:24:29 -0700 Subject: fix how normals are calculated with multiple modifiers on --- globals.cginc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 2a4410f..75030ac 100644 --- a/globals.cginc +++ b/globals.cginc @@ -75,10 +75,10 @@ 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_Amplitude; float3 _Vertex_Deformation_Sine_Waves_Direction; -float4 _Vertex_Deformation_Sine_Waves_k; -float4 _Vertex_Deformation_Sine_Waves_omega; +float3 _Vertex_Deformation_Sine_Waves_k; +float3 _Vertex_Deformation_Sine_Waves_omega; #endif // _VERTEX_DEFORMATION_SINE_WAVES #if defined(_UV_SCROLL) -- cgit v1.2.3