Skip to content

Commit

Permalink
Update cAutoExposure.fx
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Jul 9, 2024
1 parent 2ad742b commit 8a3c7e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shaders/cAutoExposure.fx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ float4 PS_Blit(VS2PS_Quad Input) : SV_TARGET0

if (_Meter == 1)
{
float2 CenterMeterTex = UNormTex;
float CenterWeights = smoothstep(sqrt(2.0), 0.0, length(CenterMeterTex));
float CenterWeights = smoothstep(sqrt(2.0), 0.0, length(UNormTex));
LogLuminance *= CenterWeights;
}

Expand Down

0 comments on commit 8a3c7e0

Please sign in to comment.