AMD FidelityFX Contrast Adaptive Sharpening (CAS) provides a mixed ability to sharpen and optionally scale an image.
Download the latest version
An example use of AMD FidelityFX Contrast Adaptive Sharpening exists within the Xbox Game Development Kit samples.
Razor sharp visuals
Open source, MIT license
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.
See AMD FidelityFX CAS in action with Godfall
You'll also find AMD FidelityFX CAS in The Riftbreaker
Developers using AMD FidelityFX
Want to quickly try out FidelityFX Super Resolution (FSR) or FidelityFX Contrast Adaptive Sharpening (CAS)?
You can use our new command-line tool FidelityFX CLI, which lets you test FSR or CAS on a screenshot, or any other image.
Unreal Engine developer?
We have many powerful patches for Unreal Engine for registered Unreal Engine developers, covering performance and features.
FidelityFX Contrast Adaptive Sharpening is available as a feature patch you can apply for Unreal Engine.
More AMD FidelityFX effects
AMD FidelityFX Super Resolution (FSR) is our open-source, high-quality, high-performance upscaling solution.
AMD FidelityFX Parallel Sort makes sorting data on the GPU quicker, and easier. Use our SM6.0 compute shaders to get your data in order.
AMD FidelityFX Variable Shading drives Variable Rate Shading into your game.
AMD FidelityFX Denoiser is a set of denoising compute shaders which remove artefacts from reflection and shadow rendering.
AMD FidelityFX LPM provides an open source library to easily integrate HDR and wide gamut tone and gamut mapping into your game.
The AMD FidelityFX SSSR effect provides an open source library to easily integrate stochastic screen space reflections into your game.
AMD FidelityFX Combined Adaptive Compute Ambient Occlusion (CACAO) is an RDNA-optimized implementation of ambient occlusion.
FidelityFX Single Pass Downsampler (SPD) provides an RDNA-optimized solution for generating up to 12 MIP levels of a texture.
Radeon™ Cauldron is our open source experimentation framework for DirectX®12 and Vulkan®.
Our other effects
A multithreaded CPU library for deformable material physics, using the Finite Element Method (FEM)
The DepthOfFieldFX library provides a GCN-optimized Compute Shader implementation of Depth of Field using the Fast Filter Spreading approach.
GeometryFX improves the rasterizer efficiency by culling triangles that do not contribute to the output in a pre-pass. This allows the full chip to be used to process geometry, and ensures that the rasterizer only processes triangles that are visible.
ShadowFX library provides a scalable GCN-optimized solution for deferred shadow filtering. It supports uniform and contact hardening shadow (CHS) kernels.
The TressFX library is AMD’s hair/fur rendering and simulation technology. TressFX is designed to use the GPU to simulate and render high-quality, realistic hair and fur.