Skip to content

Commit

Permalink
Update cDLAA.fx
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Sep 8, 2024
1 parent 9308d66 commit 31583c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/cDLAA.fx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ float4 PS_DLAA(CShade_VS2PS_Quad Input) : SV_TARGET0
float VY = saturate(1.0 + (LongBlurLumaV - CenterLuma) / (CenterLuma - RightLuma));

float4 VHXY = float4(VX, VY, HX, HY);
VHXY = (VHXY == float4(0.0, 0.0, 0.0, 0.0)) ? float4(1.0, 1.0, 1.0, 1.0) : VHXY;
VHXY = (VHXY == 0.0) ? 1.0 : VHXY;

ColorV = lerp(Left, ColorV, VHXY.x);
ColorV = lerp(Right, ColorV, VHXY.y);
Expand Down

0 comments on commit 31583c8

Please sign in to comment.