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 8, 2024
1 parent fee2d8e commit ed20ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shaders/cAutoExposure.fx
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ float3 PS_Exposure(VS2PS_Quad Input) : SV_TARGET0
#endif

// This mask returns 1 if the texcoord's position is >= 0.1
float Mask = 1.0 - GetAntiAliasShape(length(DebugAverageLumaTex), 0.05);
Output = lerp(Output, exp(Luma), Mask);
float Mask = GetAntiAliasShape(length(DebugAverageLumaTex), 0.05);
Output = lerp(exp(Luma), Output, Mask);
}

return Output;
Expand Down

0 comments on commit ed20ff9

Please sign in to comment.