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
|
|
|
|
|
|
|
|
/*=============================================================================
|
|
|
|
|
PostProcessBloomSetup.h: Post processing bloom threshold pass implementation.
|
|
|
|
|
=============================================================================*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "RenderingCompositionGraph.h"
|
|
|
|
|
|
|
|
|
|
// ePId_Input0: Half res HDR scene color
|
|
|
|
|
// ePId_Input1: EyeAdaptation
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
|
|
|
class FRCPassPostProcessBloomSetup : public TRenderingCompositePassBase<2, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
|
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void Release() override { delete this; }
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|
2015-01-25 14:54:46 -05:00
|
|
|
|
|
|
|
|
// ePId_Input0: HDR SceneColor
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
|
|
|
class FRCPassPostProcessVisualizeBloomSetup : public TRenderingCompositePassBase<1, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
|
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2015-01-25 14:54:46 -05:00
|
|
|
virtual void Release() override { delete this; }
|
|
|
|
|
};
|
2015-01-25 16:45:04 -05:00
|
|
|
|
|
|
|
|
// ePId_Input0: LDR SceneColor
|
|
|
|
|
// ePId_Input1: HDR SceneColor
|
|
|
|
|
// ePId_Input2: BloomOutputCombined
|
|
|
|
|
// derives from TRenderingCompositePassBase<InputCount, OutputCount>
|
|
|
|
|
class FRCPassPostProcessVisualizeBloomOverlay : public TRenderingCompositePassBase<3, 1>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// interface FRenderingCompositePass ---------
|
2015-04-01 07:20:55 -04:00
|
|
|
virtual void Process(FRenderingCompositePassContext& Context) override;
|
|
|
|
|
virtual FPooledRenderTargetDesc ComputeOutputDesc(EPassOutputId InPassOutputId) const override;
|
2015-01-25 16:45:04 -05:00
|
|
|
virtual void Release() override { delete this; }
|
|
|
|
|
};
|