2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/*=============================================================================
|
|
|
|
|
PostProcessTemporalAA.h: Post process MotionBlur implementation.
|
|
|
|
|
=============================================================================*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "RenderingCompositionGraph.h"
|
|
|
|
|
|
|
|
|
|
// ePId_Input0: Reflections (point)
|
|
|
|
|
// ePId_Input1: Previous frame's output (bilinear)
|
|
|
|
|
// ePId_Input2: Previous frame's output (point)
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
|
|
|
class FRCPassPostProcessSSRTemporalAA : public TRenderingCompositePassBase<3, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void Release() override { delete this; }
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// ePId_Input0: Half Res DOF input (point)
|
|
|
|
|
// ePId_Input1: Previous frame's output (bilinear)
|
|
|
|
|
// ePId_Input2: Previous frame's output (point)
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
2015-02-18 14:37:44 -05:00
|
|
|
class FRCPassPostProcessDOFTemporalAA : public TRenderingCompositePassBase<4, 1>
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void Release() override { delete this; }
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|
|
|
|
|
|
2014-11-03 11:26:08 -05:00
|
|
|
// ePId_Input0: Half Res DOF input (point)
|
|
|
|
|
// ePId_Input1: Previous frame's output (bilinear)
|
|
|
|
|
// ePId_Input2: Previous frame's output (point)
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
2015-02-18 14:37:44 -05:00
|
|
|
class FRCPassPostProcessDOFTemporalAANear : public TRenderingCompositePassBase<4, 1>
|
2014-11-03 11:26:08 -05:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
2014-11-03 11:26:08 -05:00
|
|
|
virtual void Release() override { delete this; }
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2014-11-03 11:26:08 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
// ePId_Input0: Half Res light shaft input (point)
|
|
|
|
|
// ePId_Input1: Previous frame's output (bilinear)
|
|
|
|
|
// ePId_Input2: Previous frame's output (point)
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
|
|
|
class FRCPassPostProcessLightShaftTemporalAA : public TRenderingCompositePassBase<3, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void Release() override { delete this; }
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// ePId_Input0: Full Res Scene color (point)
|
|
|
|
|
// ePId_Input1: Previous frame's output (bilinear)
|
|
|
|
|
// ePId_Input2: Previous frame's output (point)
|
|
|
|
|
// ePId_Input3: Velocity (point)
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
|
|
|
class FRCPassPostProcessTemporalAA : public TRenderingCompositePassBase<4, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void Release() override { delete this; }
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
|
|
|
|
};
|