{"id":13731892,"url":"https://github.com/philcn/DXRNvTutorial","last_synced_at":"2025-05-08T05:31:46.696Z","repository":{"id":92647448,"uuid":"146264991","full_name":"philcn/DXRNvTutorial","owner":"philcn","description":"Implementing Nvidia DXR tutorial with Microsoft DXR Fallback Layer","archived":false,"fork":false,"pushed_at":"2018-10-22T07:34:01.000Z","size":181,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-14T23:33:12.409Z","etag":null,"topics":["dxr"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philcn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-27T07:52:41.000Z","updated_at":"2019-09-21T11:37:15.000Z","dependencies_parsed_at":"2023-03-05T09:30:42.618Z","dependency_job_id":null,"html_url":"https://github.com/philcn/DXRNvTutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philcn%2FDXRNvTutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philcn%2FDXRNvTutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philcn%2FDXRNvTutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philcn%2FDXRNvTutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philcn","download_url":"https://codeload.github.com/philcn/DXRNvTutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253008797,"owners_count":21839700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dxr"],"created_at":"2024-08-03T02:01:40.799Z","updated_at":"2025-05-08T05:31:46.688Z","avatar_url":"https://github.com/philcn.png","language":"C++","readme":"# DXRNvTutorial\n\nImplemented the Nvidia DXR tutorial with Microsoft DXR Fallback Layer, tested on Nvidia GTX 980Ti (AMD won't work). Extended nv_helpers_dx12 to work with both D3D12 prototype device and fallback device.\n\nThis project isn't updated for Windows 10 RS5 API so it won't continue to work. \n\n## Fallback Layer workaround\n\nDue to the limitations of Fallback Layer, we have to use a slightly different raytracing pipeline and resource binding layout than the tutorial. \n\n* Bind top level acceleration structure and output UAV with global root signature rather than local root signature of a RayGen shader. That's because fallback layer uses a special `SetTopLevelAccelerationStructure()` routine to bind the acceleration structure.\n* Need to bind the descriptor heap when 1) building acceleration structures and 2) calling DispatchRays(). That's for the wrapped pointer to work (see Microsoft Fallback Layer documentation).\n* Do not use structured buffers in ray tracing shaders, Fallback Layer currently don't support them. Use raw buffers instead. \n\n## Reference\n\nhttps://github.com/Microsoft/DirectX-Graphics-Samples/tree/master/Libraries/D3D12RaytracingFallback\nhttps://github.com/Microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop/D3D12Raytracing\nhttps://developer.nvidia.com/rtx/raytracing/dxr/DX12-Raytracing-tutorial-Part-1\nhttps://developer.nvidia.com/rtx/raytracing/dxr/DX12-Raytracing-tutorial-Part-2\nhttps://github.com/NVIDIAGameWorks/DxrTutorials\nhttp://intro-to-dxr.cwyman.org/\n","funding_links":[],"categories":["Graphics"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilcn%2FDXRNvTutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilcn%2FDXRNvTutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilcn%2FDXRNvTutorial/lists"}