Skip to content

Commit ca1fc4b

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

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

shaders/cAntiAliasing.fx

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ float4 PS_Prefilter(CShade_VS2PS_Quad Input) : SV_TARGET0
3434
Neighborhood[2] = tex2D(CShade_SampleGammaTex, EdgeTex1.xy).rgb;
3535
Neighborhood[3] = tex2D(CShade_SampleGammaTex, EdgeTex1.zw).rgb;
3636

37-
// Get range
38-
float3 MinC = min(Center, min(min(Neighborhood[0], Neighborhood[1]), min(Neighborhood[2], Neighborhood[3])));
39-
float3 MaxC = max(Center, max(max(Neighborhood[0], Neighborhood[1]), max(Neighborhood[2], Neighborhood[3])));
40-
float3 Range = MaxC - MinC;
41-
4237
// Compass edge detection on N/S/E/W
4338
float3 Edges = 0.0;
4439
Edges = max(Edges, abs(Center - Neighborhood[0]));

0 commit comments

Comments
 (0)