Skip to content

Commit

Permalink
chore: remove accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum committed Feb 10, 2025
1 parent fb263f7 commit 3f0366f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/Shaders/DeferredCompositeCS.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ void SampleSSGISpecular(uint2 pixCoord, sh2 lobe, out float ao, out float3 il)
ssgiIlSpecular = ssgiMixed.rgb;
# endif

finalIrradiance = (finalIrradiance * ssgiAo * smoothstep(-(1.0 / 7.0), 1.0 - (1.0 / 7.0), glossiness)) + (Color::RGBToLuminance(finalIrradiance) * ssgiIlSpecular * 10);
finalIrradiance = (finalIrradiance * ssgiAo * smoothstep(0.0, 1.0 - (1.0 / 7.0), glossiness)) + (Color::RGBToLuminance(finalIrradiance) * ssgiIlSpecular * 10);
# else
finalIrradiance *= smoothstep(-(1.0 / 7.0), 1.0 - (1.0 / 7.0), glossiness);
finalIrradiance *= smoothstep(0.0, 1.0 - (1.0 / 7.0), glossiness);
# endif

color += reflectance * finalIrradiance;
Expand Down

0 comments on commit 3f0366f

Please sign in to comment.