AMD FidelityFX™ CAS background

AMD FidelityFX™ Contrast Adaptive Sharpening (CAS)

Adaptive sharpening for TAA

AMD FidelityFX™ Contrast Adaptive Sharpening (CAS) provides a mixed ability to sharpen and optionally scale an image.

Supports:

  • DirectX® 12
  • Vulkan®

Part of the AMD FidelityFX™ SDK

AMD FidelityFX SDK components

Download the latest version - v1.1.4

This release of the AMD FidelityFX™ SDK adds the following features:

  • Additions to the API and fixes for issues discovered.

AMD FidelityFX™ CLI

Want to quickly try out AMD FidelityFX™ Super Resolution (FSR) or AMD FidelityFX™ Contrast Adaptive Sharpening (CAS)?

You can use our new command-line tool AMD FidelityFX™ CLI, which lets you test FSR or CAS on a screenshot, or any other image.

Features

Razor sharp visuals

Highly optimized

Open source, MIT license

Details

AMD FidelityFX™ Contrast Adaptive Sharpening (CAS) provides a mixed ability to sharpen and optionally scale an image. The algorithm adjusts the amount of sharpening per pixel to target an even level of sharpness across the image. Areas of the input image that are already sharp are sharpened less, while areas that lack detail are sharpened more. This allows for higher overall natural visual sharpness with fewer artifacts.

CAS was designed to help increase the quality of existing Temporal Anti-Aliasing (TAA) solutions. TAA often introduces a variable amount of blur due to temporal feedback. The adaptive sharpening provided by CAS is ideal to restore detail in images produced after TAA .

CAS’ optional scaling capability is designed to support Dynamic Resolution Scaling (DRS). DRS changes render resolution every frame, which requires scaling prior to compositing the fixed-resolution User Interface (UI). CAS supports both up-sampling and down-sampling in the same single pass that applies sharpening.

Comparisons off/on

FidelityFX CAS off
FidelityFX CAS on
FidelityFX CAS off
FidelityFX CAS on

“A great example of this is moon surfaces. They have craters, surface rings, mountain ranges, and flat areas that have large contrast differences by design. CAS really shines in this situation, where it successfully allows for the subtle details created by the artists to become clearer in the final render, even with the existing post-processes turned on.”

EVE Online Development Team, CCP

FidelityFX CAS off
FidelityFX CAS on

Developers using AMD FidelityFX™

Unreal Engine

Unreal Engine developer?

We have many powerful patches for Unreal® Engine for registered Unreal Engine developers, covering performance and features.

AMD FidelityFX™ Contrast Adaptive Sharpening is available as a feature patch you can apply for Unreal Engine.

Find out about our Unreal Engine CAS patch

Xbox developer?

An example use of AMD FidelityFX™ Contrast Adaptive Sharpening exists within the Xbox Game Development Kit samples.

xbox

Requirements

  • DirectX® 12
  • Vulkan®

Version history

  • The AMD FidelityFX™ SDK 1.1.4 is a patch release that includes additions to API and fixes for issues discovered with AMD FSR 3.1.0 to 3.1.3.

  • Exposed 4 new tunings to reduce AMD FSR upscaler ghosting in newly disoccludded pixels or highly reactive pixels.

  • Changed the default value of fMinDisocclusionAccumulation to -0.333 (from equivalent of 0.333 in AMD FSR 3.1.3) to reduce disocclusion ghosting.

  • Added ffxQueryGetProviderVersion to get version info from created ffx-api context.

  • Exposed ffxDispatchDescFrameGenerationPrepareCameraInfo as a linked struct. It is a required input to AMD FSR 3.1.4 and onwards for best quality.

  • Added frame generation debug checker support.

  • Dropped unused interpolation command lists if frame generation callback fails, to fix infinite wait at swapchain destruction.

  • General fixes to Vulkan® Frame Interpolation Swapchain.

  • General framework fixes and updates.

  • Frame pacing debug line added to Vulkan®.

  • Added new FFX error when create frame interpolation swapchain results in E_ACCESSDENIED in DX12 due to overlay or capture software.

  • Enabled support for frame interpolation swapchain on Windows® 10 1909 and potentially earlier versions.

  • Fixed flipped disocclusion factor from previous and current backbuffer.

  • Fixed HDR mode issues in Cauldron sample.

  • Fixed MSVC C compile errors including ffx-api.

  • The AMD FidelityFX™ SDK 1.1.4 also updates the following to address select issues:

  • AMD FidelityFX™ Brixelizer GI 1.0.1

  • AMD FidelityFX™ Breadcrumbs 1.0.1

Disclaimers

GODFALL™ © 2020 Counterplay Games Inc. All rights reserved. GODFALL™ published and distributed by Gearbox Publishing. Gearbox and the Gearbox Software logo are registered trademarks, and the Gearbox Publishing logo is a trademark, of Gearbox Enterprises, LLC.

The Riftbreaker © 2021 EXOR Studios, the EXOR Studios logo, Schmetterling Engine, X-Morph, Zombie Driver, Riftbreaker, and the Riftbreaker logo are trademarks or registered trademarks in the United States, European Union and other countries.

Other AMD FidelityFX effects