Code: Select all
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Techniques are drawn one after another and they use the result of
// the previous technique as input color to the next one. The number
// of techniques is limited to 255. If UIName is specified, then it
// is a base technique which may have extra techniques with indexing
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#define SMAA_EDGE_TEX RenderTargetRGBA64 // default is RenderTargetRGB32F (only require RG channel)
#define SMAA_BLEND_TEX RenderTargetRGBA64F // default is RenderTargetRGBA64 (RGBA requred)
#define PASSNAME0 TemporaryTarget
#define PASSNAME1 TemporaryTarget1
#define PASSNAME2 TemporaryTarget2
#include "enbsmaa.fx"