Skip to content

Commit

Permalink
style: 🎨 apply clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRiverwoodModder authored and github-actions[bot] committed Sep 30, 2024
1 parent 66a0a97 commit 2a08276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace WetnessEffects
}

// xyz - ripple normal, w - splotches
float4 GetRainDrops(float3 worldPos, float t, float3 normal, float rippleStrengthModifier = 1)
float4 GetRainDrops(float3 worldPos, float t, float3 normal, float rippleStrengthModifier = 1)
{
const static float uintToFloat = rcp(4294967295.0);
const float rippleBreadthRcp = rcp(wetnessEffectsSettings.RippleBreadth);
Expand Down
2 changes: 1 addition & 1 deletion package/Shaders/Water.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ float3 GetWaterNormal(PS_INPUT input, float distanceFactor, float normalsDepthFa
float3 rippleNormal = normalize(raindropInfo.xyz);
finalNormal = WetnessEffects::ReorientNormal(rippleNormal, finalNormal);
# endif

return finalNormal;
}

Expand Down

0 comments on commit 2a08276

Please sign in to comment.