diff options
| author | yum <yum.food.vr@gmail.com> | 2025-10-17 21:24:29 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-10-17 21:24:29 -0700 |
| commit | ddf847e758d9766d33ccc9b1a560a84142e395e0 (patch) | |
| tree | 3ac90042d3bdcfd73b93d6f2d374a6134bc0b7ab /globals.cginc | |
| parent | 98e115ebfc40e72a8ee1c6453735d8f6076f7890 (diff) | |
fix how normals are calculated with multiple modifiers on
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
