Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 581 Bytes

README.md

File metadata and controls

36 lines (32 loc) · 581 Bytes

DLAA: Directionally Localized antiAliasing

DLAA it's fasted aa shader. 2011-2022 (C)

Support

  • Dx10
  • Dx10.1
  • Dx11
  • Dx12

Use

// Replace 'screen_res' to your screen size variable

// Include DLAA
#include "dlaa.hlsl"

float4 main(p_screen I) : SV_Target
{
	// Z - Image width | W - Image height
	float2 fSize  = screen_res.zw;
	return DLAAPixelShader(I.tc0, fSize);
}

Another Settings

#define HDR
  • Hight passing
#define TFU2_HIGH_PASS

Contrib

  • facepuncherfromrussia
  • ForserX