Skip to content

Commit a7ddb22

Browse files
committed
Update cFXAA.fx
1 parent 095a169 commit a7ddb22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shaders/cFXAA.fx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ Edge GetEdge(LumaNeighborhood LN, LumaDiagonals LD, float2 Delta)
171171

172172
float GetEdgeBlendFactor(LumaNeighborhood LN, LumaDiagonals LD, Edge E, float2 Tex, float2 Delta)
173173
{
174-
const int EdgeStepCount = 4;
175-
const float EdgeSteps[EdgeStepCount] = { 1.0, 1.5, 2.0, 2.0 };
176-
const float LastStep = 8.0;
174+
const int EdgeStepCount = 5;
175+
const float EdgeSteps[EdgeStepCount] = { 1.0, 1.5, 2.0, 2.0, 4.0 };
176+
const float LastStep = 12.0;
177177

178178
float2 EdgeTex = Tex;
179179
float2 TexStep = 0.0;

0 commit comments

Comments
 (0)