User Guide (Version 1.14)

Building DirectX 12 Supported Applications

Lumberyard includes a preview of DirectX 12, which provides the framework for you to build DirectX 12 supported applications and develop DirectX 12 features. DirectX 12 provides the following benefits for developing applications:

  • Slightly faster overall GPU performance on Nvidia cards

  • Slight increase in frame rate for scenes that are GPU-bound

  • Supported features from DirectX 12 and DirectX 11.3 including the following:

    • Rasterizer-ordered view with order independent transparency

    • Tiled resources that allow you to develop textures virtually that you can then use on terrain

    • Optimized texture streaming

    • Conservative rasterization helps you develop and optimize ray tracing or voxel rendering, which you can use to develop certain rendering techniques such as global illumination (GI).

Based on your scene, you may discover faster or slower performance across DirectX 11 and DirectX 12. For example, if you enable DirectX 12 you may see a slight performance degradation with CPU-bound scenes. Scenes with high draw calls may also see slower performance depending on the size of the scene and view distance.

For more information about DirectX 12, see Taking Advantage of DirectX 11.2 Tiled Resources and Don't Be Conservative with Conservative Rasterization.

To enable DirectX 12 rendering in Lumberyard

  1. On Windows 10, install the latest Windows 10 SDK in Visual Studio 2015.

  2. (For monolithic builds only) Build your Lumberyard project by doing one of the following:

    • Edit the user_settings.options file (located in the lumberyard_version\dev\_WAF_ directory) to set win_build_renderer to DX12 under the [Build Options] section. In a command line window, type lmbr_waf configure.

    • In a command line window, type lmbr_waf configure --win-build-renderer=DX12.

  3. Edit the system_windows_pc.cfg file to set r_Driver to DX12.

  4. Start your game using the launcher.