Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

Falcor

> 编程语言
Open source

Real-Time Rendering Framework

3.2K stars0 likes0 views
WebsiteGitHub

About

Real-Time Rendering Framework

Falcor

Falcor is a real-time rendering framework supporting DirectX 12 and Vulkan. It aims to improve productivity of research and prototype projects.

Features include:

  • Abstracting many common graphics operations, such as shader compilation, model loading, and scene rendering
  • Raytracing support
  • Python scripting support
  • Render graph system to build modular renderers
  • Common rendering techniques such post-processing effects
  • Unbiased path tracer
  • Integration of various RTX SDKs such as DLSS, RTXDI and NRD

Prerequisites

  • Windows 10 version 20H2 (October 2020 Update) or newer, OS build revision .789 or newer
  • Visual Studio 2022
  • Windows 10 SDK (10.0.19041.0) for Windows 10, version 2004
  • A GPU which supports DirectX Raytracing, such as the NVIDIA Titan V or GeForce RTX
  • NVIDIA driver 466.11 or newer

Optional:

  • Windows 10 Graphics Tools. To run DirectX 12 applications with the debug layer enabled, you must install this. There are two ways to install it:
    • Click the Windows button and type Optional Features, in the window that opens click Add a feature and select Graphics Tools.
    • Download an offline package from here. Choose a ZIP file that matches the OS version you are using (not the SDK version used for building Falcor). The ZIP includes a document which explains how to install the graphics tools.
  • NVAPI, CUDA, OptiX (see below)

Building Falcor

Falcor uses the CMake build system. Additional information on how to use Falcor with CMake is available in the CMake development documetation page.

Visual Studio

If you are working with Visual Studio 2022, you can setup a native Visual Studio solution by running setup_vs2022.bat after cloning this repository. The solution files are written to build/windows-vs2022 and the binary output is located in build/windows-vs2022/bin.

Visual Studio Code

If you are working with Visual Studio Code, run setup.bat after cloning this repository. This will setup a VS Code workspace in the .vscode folder with sensible defaults (only if .vscode does not exist yet). When opening the project folder in VS Code, it will prompt to install recommended extensions. We recommend you do, but at least make sure that CMake Tools is installed. To build Falcor, you can select the configure preset by executing the CMake: Select Configure Preset action (Ctrl+Shift+P). Choose the Windows Ninja/MSVC preset. Then simply hit Build (or press F7) to build the project. The binary output is located in build/windows-ninja-msvc/bin.

Warning: Do not start VS Code from Git Bash, it will modify the PATH environment variable to an incompatible format, leading to issues with CMake.

Linux

Falcor has experimental support for Ubuntu 22.04. To build Falcor on Linux, run setup.sh after cloning this repository. You also need to install some system library headers using:

sudo apt install xorg-dev libgtk-3-dev

You can use the same instructions for building Falcor as described in the Visual Studio Code section above, simply choose the Linux/GCC preset.

Configure Presets

Falcor uses CMake Presets store in CMakePresets.json to provide a set of commonly used build configurations. You can get the full list of available configure presets running cmake --list-presets:

$ cmake --list-presets
Available configure presets:

  "windows-vs2022"           - Windows VS2022
  "windows-ninja-msvc"       - Windows Ninja/MSVC
  "linux-clang"              - Linux Ninja/Clang
  "linux-gcc"                - Linux Ninja/GCC

Use cmake --preset <preset name> to generate the build tree for a given preset. The build tree is written to the build/<preset name> folder and the binary output files are in build/<preset name>/bin.

An existing build tree can be compiled using cmake --build build/<preset name>.

Falcor In Python

For more information on how to use Falcor as a Python module see Falcor In Python.

Microsoft DirectX 12 Agility SDK

Falcor uses the Microsoft DirectX 12 Agility SDK to get access to the latest DirectX 12 features. Applications can enable the Agility SDK by putting FALCOR_EXPORT_D3D12_AGILITY_SDK in the main .cpp file. Mogwai, FalcorTest and RenderGraphEditor have the Agility SDK enabled by default.

NVAPI

To enable NVAPI support, head over to https://developer.nvidia.com/nvapi and download the latest version of NVAPI (this build is tested against version R535). Extract the content of the zip file into external/packman/ and rename R535-developer to nvapi.

NSight Aftermath

To enable NSight Aftermath support, head over to https://developer.nvidia.com/nsight-aftermath and download the latest version of Aftermath (this build is tested against version 2023.1). Extract the content of the zip file into external/packman/aftermath.

CUDA

To enable CUDA support, download and install CUDA 11.6.2 or later and reconfigure the build.

See the CudaInterop sample application located in Source/Samples/CudaInterop for an example of how to use CUDA.

OptiX

If you want to use Falcor's OptiX functionality (specifically the OptixDenoiser render pass) download the OptiX SDK (Falcor is currently tested against OptiX version 7.3) After running the installer, link or copy the OptiX SDK folder into external/packman/optix (i.e., file external/packman/optix/include/optix.h should exist).

Note: You also need CUDA installed to compile the OptixDenoiser render pass, see above for details.

NVIDIA RTX SDKs

Falcor ships with the following NVIDIA RTX SDKs:

  • DLSS (https://github.com/NVIDIA/DLSS)
  • RTXDI (https://github.com/NVIDIAGameWorks/RTXDI)
  • NRD (https://github.com/NVIDIAGameWorks/RayTracingDenoiser)

Note that these SDKs are not under the same license as Falcor, see LICENSE.md for details.

Resources

  • Falcor: Falcor's GitHub page.
  • Documentation: Additional information and tutorials.
    • Getting Started
    • Render Graph Tutorials
  • Rendering Resources A collection of scenes loadable in Falcor (pbrt-v4 format).
  • ORCA: A collection of scenes and assets optimized for Falcor.
  • Slang: Falcor's shading language and compiler.

Citation

If you use Falcor in a research project leading to a publication, please cite the project. The BibTex entry is

@Misc{Kallweit22,
   author =      {Simon Kallweit and Petrik Clarberg and Craig Kolb and Tom{'a}{\v s} Davidovi{\v c} and Kai-Hwa Yao and Theresa Foley and Yong He and Lifan Wu and Lucy Chen and Tomas Akenine-M{\"o}ller and Chris Wyman and Cyril Crassin and Nir Benty},
   title =       {The {Falcor} Rendering Framework},
   year =        {2022},
   month =       {8},
   url =         {https://github.com/NVIDIAGameWorks/Falcor},
   note =        {\\url{https://github.com/NVIDIAGameWorks/Falcor}}
}

GitHub Issues· 65 open

View all on GitHub
  • #494

    Typo in readme

    Updated Jul 16, 2026
  • #493

    Roadmap / status of 3D Gaussian Splatting render pass support in Falcor

    Updated May 31, 2026
  • #466

    Mogwai crashes on Ubuntu 22.04 due to missing slang files

    Updated Apr 7, 2026
  • #486

    Latest Vulkan SDK results in validation errors related to vkQueueSubmit() and vkAcquireNextImageKHR()

    Updated Jan 19, 2026
  • #484

    Feature request: Shared fences on Vulkan for Profiling CudaInterop

    Updated Dec 16, 2025
  • #483

    There might be an error in SphericalHarmonics.slang

    Updated Nov 21, 2025
  • #481

    Aspect ratio is not applied to scene in Testbed

    Updated Nov 19, 2025
  • #436

    RenderGraphEditor; Load File; GFX call ... failed with error

    Updated Nov 11, 2025
  • #407

    Out of date tutorials

    Updated Nov 4, 2025
  • #479

    Falcor support vulkan

    Updated Oct 2, 2025

Highlights

  • •Abstracting many common graphics operations, such as shader compilation, model loading, and scene rendering
  • •Raytracing support
  • •Python scripting support
  • •Render graph system to build modular renderers
  • •Common rendering techniques such post-processing effects
  • •Unbiased path tracer
  • •Integration of various RTX SDKs such as DLSS, RTXDI and NRD
  • •Windows 10 version 20H2 (October 2020 Update) or newer, OS build revision .789 or newer
  • •Visual Studio 2022
  • •Windows 10 SDK (10.0.19041.0) for Windows 10, version 2004

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言