Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit ee4e9bb

Browse files
committed
Fixed SMAA not being applied anymore
1 parent ec856cd commit ee4e9bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,9 @@ public void Render(PostProcessRenderContext context)
498498

499499
bool hasBeforeStackEffects = HasActiveEffects(PostProcessEvent.BeforeStack, context);
500500
bool hasAfterStackEffects = HasActiveEffects(PostProcessEvent.AfterStack, context) && !breakBeforeColorGrading;
501-
bool needsFinalPass = (hasAfterStackEffects || antialiasingMode == Antialiasing.FastApproximateAntialiasing) && !breakBeforeColorGrading;
501+
bool needsFinalPass = (hasAfterStackEffects
502+
|| (antialiasingMode == Antialiasing.FastApproximateAntialiasing) || (antialiasingMode == Antialiasing.SubpixelMorphologicalAntialiasing && subpixelMorphologicalAntialiasing.IsSupported()))
503+
&& !breakBeforeColorGrading;
502504

503505
// Right before the builtin stack
504506
if (hasBeforeStackEffects)

0 commit comments

Comments
 (0)