使用DXR进行环境光遮挡贴图烘焙的演示-C/C++开发

时间:2021-05-27 01:56:23
【文件属性】:
文件名称:使用DXR进行环境光遮挡贴图烘焙的演示-C/C++开发
文件大小:1016KB
文件格式:ZIP
更新时间:2021-05-27 01:56:23
C/C++ Miscellaneous 使用DXR内联射线跟踪的环境光遮挡图烘焙演示。 使用xatlas展开网格。 通过将UV坐标用作输出顶点位置,将网格栅格化为图集图像,并通过使用片段着色器中的行内光线跟踪来计算AO因子。 DXR环境光遮蔽烘焙使用DXR内联射线跟踪进行环境光遮蔽贴图烘焙的演示。 使用xatlas展开网格。 通过将UV坐标用作输出顶点位置,将网格栅格化为图集图像,并通过使用片段着色器中的行内光线跟踪来计算AO因子。 依赖关系需要DXR 1.1支持以进行线内光线跟踪。 SDL2 glm示例Sponza:Suzanne:
【文件预览】:
dxr-ao-bake-master
----.clang-format(2KB)
----.gitignore(20B)
----LICENSE.md(1KB)
----util()
--------mesh.h(706B)
--------tiny_obj_loader.h(77KB)
--------stb_image.h(257KB)
--------parallel_hashmap()
--------xatlas.h(10KB)
--------material.cpp(915B)
--------gltf_types.h(1KB)
--------render_backend.h(886B)
--------lights.h(313B)
--------gltf_types.cpp(15KB)
--------util.cpp(3KB)
--------material.h(1024B)
--------flatten_gltf.h(417B)
--------arcball_camera.h(2KB)
--------stb_image_write.h(65KB)
--------tiny_gltf.h(206KB)
--------json.hpp(693KB)
--------buffer_view.cpp(593B)
--------util.h(538B)
--------mesh.cpp(629B)
--------scene.cpp(23KB)
--------file_mapping.cpp(3KB)
--------camera.h(110B)
--------buffer_view.h(2KB)
--------texture_channel_mask.h(841B)
--------display()
--------arcball_camera.cpp(3KB)
--------file_mapping.h(618B)
--------flatten_gltf.cpp(3KB)
--------scene.h(880B)
--------xatlas.cpp(326KB)
--------CMakeLists.txt(619B)
----dxr()
--------imgui_impl_dx12.cpp(28KB)
--------dxdisplay.h(1KB)
--------util.hlsl(1KB)
--------lcg_rng.hlsl(1KB)
--------imgui_impl_dx12.h(2KB)
--------dxdisplay.cpp(11KB)
--------cmake()
--------dx12_utils.h(5KB)
--------dx12_utils.cpp(9KB)
--------dxr_utils.h(14KB)
--------CMakeLists.txt(430B)
--------dxr_utils.cpp(38KB)
----README.md(663B)
----cmake()
--------FindSDL2.cmake(9KB)
----render_ao_map.hlsl(2KB)
----main.cpp(29KB)
----CMakeLists.txt(1KB)
----imgui()
--------imstb_rectpack.h(20KB)
--------imgui_internal.h(122KB)
--------imgui_widgets.cpp(353KB)
--------imstb_truetype.h(188KB)
--------imgui_draw.cpp(164KB)
--------LICENSE.txt(1KB)
--------imgui_demo.cpp(246KB)
--------imgui.h(212KB)
--------imconfig.h(7KB)
--------imgui.cpp(479KB)
--------CMakeLists.txt(251B)
--------imstb_textedit.h(52KB)

网友评论