Skip to content

Commit

Permalink
Merge branch 'dev-optimized' of https://github.com/TheRiverwoodModder…
Browse files Browse the repository at this point in the history
…/skyrim-community-shaders into dev-optimized
  • Loading branch information
TheRiverwoodModder committed Oct 6, 2024
2 parents a2d6666 + 2a08276 commit a7ffdde
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 @@ -569,7 +569,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 a7ffdde

Please sign in to comment.