diff --git a/package/Shaders/Water.hlsl b/package/Shaders/Water.hlsl index 2d94b74ad..d0dddf72f 100644 --- a/package/Shaders/Water.hlsl +++ b/package/Shaders/Water.hlsl @@ -608,9 +608,9 @@ float3 GetWaterSpecularColor(PS_INPUT input, float3 normal, float3 viewDirection } # endif - float3 finalReflectionColor = lerp(reflectionColor, finalSsrReflectionColor, ssrFraction); + float3 finalReflectionColor = lerp(finalSsrReflectionColor, finalSsrReflectionColor, ssrFraction); - return lerp(ReflectionColor.xyz, finalReflectionColor, VarAmounts.y); + return lerp(finalReflectionColor.xyz, finalReflectionColor, VarAmounts.y); } return ReflectionColor.xyz * VarAmounts.y; }