AMD FidelityFX Contrast Adaptive Sharpening (CAS) provides a mixed ability to sharpen and optionally scale an image.
Download the latest version
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 AMD FidelityFX CAS? You can use our new command-line tool that lets you test it on a screenshot, or any other image.
Download it below, or read the tutorial shown here.
CasCmdLine is a simple, command-line Windows program included in the FidelityFX CAS (Contrast Adaptive Sharpening) repository in binary and source form. It lets you test the effect on image files such as screenshots from your game.
Unreal Engine developer?
We don’t want you to miss out on the fun. FidelityFX CAS is for everyone.
More AMD FidelityFX effects
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 denoising compute shader which removes artefacts from reflection 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.
F1, FORMULA ONE, and related marks are trademarks of Formula One Licensing B.V.