Giter Site home page Giter Site logo

mbas83 / falcor Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 12.97 MB

Raytraced Virtual Shadow Maps (using Falcor 5.1)

License: Other

Batchfile 0.27% PowerShell 0.30% Python 4.62% Shell 0.09% C++ 91.51% C 2.64% HLSL 0.42% Cuda 0.04% CSS 0.01% Smarty 0.10%

falcor's Introduction

Raytraced Virtual Shadow Maps (using Falcor 5.1)

This project implements a shadow map technique for many omnidirectional lights. Shadow maps are not rasterized, instead the depth of shadow rays is cached. Only relevant parts of the shadow map are mapped to memory (using DX12's reserved resources). The scene is analyzed to adaptively determine the shadow map resolution for each pixel.

Render Passes

  • can be found in Source/RenderPasses
  • the render pass .pyscene files are in the folder VirtualRaytracedShadowMap_Passes
Name Description
RTVirtualShadowMaps caches shadow rays in shadow map (RTVirtualShadowMaps.pyscene)
RTShadows spawns shadow ray for each light (RTShadows.pyscene)

Prerequisites

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)

Build Configurations

Falcor comes with 2 rendering backends: Native D3D12 and Slang GFX (supporting D3D12 and Vulkan). The Slang GFX backend is fully functional but considered experimental. To select the backend, the following build configurations are available:

  • ReleaseD3D12 / DebugD3D12: Native D3D12 backend (recommended)
  • ReleaseGFX-D3D12 / DebugGFX-D3D12: Slang GFX backend using D3D12 (experimental)
  • ReleaseGFX-VK / DebugGFX-VK: Slang GFX backend using Vulkan (experimental)

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 =       {3},
   url =         {https://github.com/NVIDIAGameWorks/Falcor},
   note =        {\url{https://github.com/NVIDIAGameWorks/Falcor}}
}

falcor's People

Contributors

mbas83 avatar kopaka1822 avatar

Stargazers

 avatar End3r6 avatar CGBull avatar Pavel Agafonov avatar Jiahuan avatar congee.zz avatar

Watchers

 avatar  avatar

Forkers

june8036

falcor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.