Home

Awesome

AMD ShadowFX

AMD ShadowFX

The ShadowFX library provides a scalable and GCN-optimized solution for deferred shadow filtering. Currently the library supports uniform and contact hardening shadow (CHS) kernels.

<div> <a href="https://github.com/GPUOpen-Effects/ShadowFX/releases/latest/"><img src="http://gpuopen-effects.github.io/media/latest-release-button.svg" alt="Latest release" title="Latest release"></a> </div>

Version 2.0 of the library now supports both DirectX® 11 and DirectX® 12. The ShadowFX API is unified across D3D11 and D3D12, allowing an easy transition to D3D12. Samples are provided for both D3D11 and D3D12 versions.

The library supports a range of different options:

The ShadowFX library can also serve as a sandbox for experiments with other shadow filtering techniques.

Prerequisites for DirectX 11

Prerequisites for DirectX 12

Getting started

Learn More

Premake

The Visual Studio solutions and projects in this repo were generated with Premake. If you need to regenerate the Visual Studio files, double-click on gpuopen_geometryfx_update_vs_files.bat in the premake directory.

For Visual Studio 2015 and 2017, this version of Premake adds the WindowsTargetPlatformVersion element to the project file to specify which version of the Windows SDK will be used. To change WindowsTargetPlatformVersion for Visual Studio 2015 and 2017, change the value for _AMD_WIN_SDK_VERSION in premake\amd_premake_util.lua and regenerate the Visual Studio files.

Third-Party Software

DXUT and Assimp are only used by the samples, not the core library. Only first-party software (specifically amd_shadowfx and amd_lib) is needed to build the ShadowFX library.

Attribution