FidelityFX Contrast Adaptive Sharpening (CAS) provides a mixed ability to sharpen and optionally scale an image.
Razor sharp visuals
Open source, MIT license
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.
| LEARN MORE
Learn how Codemasters integrated FidelityFX CAS into the Ego Engine
Find out exactly how CAS works with our in-depth presentation
| WHO'S USING IT?
These are just some of the brilliant games using FidelityFX CAS.
Want to quickly try out 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.
| ADDITIONAL RESOURCES
Unreal Engine developer?
| OUR OTHER EFFECTS
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.
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.
A multithreaded CPU library for deformable material physics, using the Finite Element Method (FEM)
Radeon™ Cauldron is our open source experimentation framework for DirectX®12 and Vulkan®.
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.