@@ -30,8 +30,7 @@ public sealed class TemporalAntialiasing
3030 enum Pass
3131 {
3232 SolverDilate ,
33- SolverNoDilate ,
34- AlphaClear
33+ SolverNoDilate
3534 }
3635
3736 readonly RenderTargetIdentifier [ ] m_Mrt = new RenderTargetIdentifier [ 2 ] ;
@@ -155,7 +154,7 @@ public void SetProjectionMatrix(Camera camera)
155154 jitter = new Vector2 ( jitter . x / camera . pixelWidth , jitter . y / camera . pixelHeight ) ;
156155 }
157156
158- RenderTexture CheckHistory ( int id , PostProcessRenderContext context , PropertySheet sheet )
157+ RenderTexture CheckHistory ( int id , PostProcessRenderContext context )
159158 {
160159 var rt = m_HistoryTextures [ id ] ;
161160
@@ -168,7 +167,7 @@ RenderTexture CheckHistory(int id, PostProcessRenderContext context, PropertyShe
168167 rt . filterMode = FilterMode . Bilinear ;
169168 m_HistoryTextures [ id ] = rt ;
170169
171- context . command . BlitFullscreenTriangle ( context . source , rt , sheet , ( int ) Pass . AlphaClear ) ;
170+ context . command . BlitFullscreenTriangle ( context . source , rt ) ;
172171 }
173172 else if ( rt . width != context . width || rt . height != context . height )
174173 {
@@ -194,8 +193,8 @@ internal void Render(PostProcessRenderContext context)
194193 cmd . BeginSample ( "TemporalAntialiasing" ) ;
195194
196195 int pp = m_HistoryPingPong ;
197- var historyRead = CheckHistory ( ++ pp % 2 , context , sheet ) ;
198- var historyWrite = CheckHistory ( ++ pp % 2 , context , sheet ) ;
196+ var historyRead = CheckHistory ( ++ pp % 2 , context ) ;
197+ var historyWrite = CheckHistory ( ++ pp % 2 , context ) ;
199198 m_HistoryPingPong = ++ pp % 2 ;
200199
201200 const float kMotionAmplification = 100f * 60f ;
0 commit comments