Skip to content

Commit 98e0f72

Browse files
committed
Update cAntiAliasing.fx
1 parent f7f8207 commit 98e0f72

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

shaders/cAntiAliasing.fx

+1-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ float4 PS_Prefilter(CShade_VS2PS_Quad Input) : SV_TARGET0
4545
Edges = max(Edges, abs(Center - Neighborhood[1]));
4646
Edges = max(Edges, abs(Center - Neighborhood[2]));
4747
Edges = max(Edges, abs(Center - Neighborhood[3]));
48-
49-
// Normalize
50-
Edges = smoothstep(0.0, 1.0, Edges);
51-
Edges = (Range > 0.0) ? Edges / Range : Edges;
52-
float EdgesLuma = GetIntensity(Edges);
48+
float EdgesLuma = smoothstep(0.0, 0.25, GetIntensity(Edges));
5349

5450
return float4(Center, EdgesLuma);
5551
}

0 commit comments

Comments
 (0)