Skip to content

Commit

Permalink
chore: minor visual tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum committed Sep 12, 2024
1 parent 5a805d4 commit 1ec916b
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 @@ -4,7 +4,7 @@ namespace ScreenSpaceShadows
{
float4 GetBlurWeights(float4 depths, float centerDepth)
{
float4 depthDifference = (depths - centerDepth);
float4 depthDifference = (depths - centerDepth) * 1000;
return exp2(-depthDifference * depthDifference);
}

Expand Down
2 changes: 1 addition & 1 deletion package/Shaders/Utility.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ PS_OUTPUT main(PS_INPUT input)

# if defined(FOLIAGE)
float checkerboard = InterleavedGradientNoise(0, input.PositionCS.xy);
if (checkerboard > 0.8)
if (checkerboard > 0.75)
discard;
# endif

Expand Down

0 comments on commit 1ec916b

Please sign in to comment.