项目作者: ForserX

项目描述 :
(DLAA) Directionally Localized antiAliasing
高级语言: HLSL
项目地址: git://github.com/ForserX/DLAA.git
创建时间: 2018-10-10T13:18:48Z
项目社区:https://github.com/ForserX/DLAA

开源协议:

下载


DLAA: Directionally Localized antiAliasing

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

Support

  • Dx10
  • Dx10.1
  • Dx11
  • Dx12

Use

  1. // Replace 'screen_res' to your screen size variable
  2. // Include DLAA
  3. #include "dlaa.hlsl"
  4. float4 main(p_screen I) : SV_Target
  5. {
  6. // Z - Image width | W - Image height
  7. float2 fSize = screen_res.zw;
  8. return DLAAPixelShader(I.tc0, fSize);
  9. }

Another Settings