Skip to content

Commit

Permalink
chore: less aggressive ssr edge (#781)
Browse files Browse the repository at this point in the history
* chore: less aggressive ssr edge

* style: 🎨 apply clang-format changes

---------

Co-authored-by: doodlum <doodlum@users.noreply.github.com>
  • Loading branch information
doodlum and doodlum authored Nov 23, 2024
1 parent 148e4d4 commit 85c155e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Shaders/ISReflectionsRayTracing.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ float4 GetReflectionColor(
}

// SSR Marching Radius Fade Factor (based on ray length)
float ssrMarchingRadiusFadeFactor = sqrt(1.0 - saturate(length(binaryRaySample.xy - projPosition.xy) / rayLength));
float ssrMarchingRadiusFadeFactor = 1.0 - saturate(length(binaryRaySample.xy - projPosition.xy) / rayLength);

// Screen Center Distance Fade Factor
float2 uvResultScreenCenterOffset = binaryRaySample.xy - 0.5;
Expand Down

0 comments on commit 85c155e

Please sign in to comment.