Skip to content

A demo of ambient occlusion map baking using DXR

License

Notifications You must be signed in to change notification settings

hixio-mh/dxr-ao-bake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DXR Ambient Occlusion Baking

A demo of ambient occlusion map baking using DXR inline ray tracing. Uses xatlas to unwrap the mesh. The mesh is rasterized into the atlas image by using the UV coordinates as the output vertex positions, and the AO factor computed by using inline ray tracing in the fragment shader.

Dependencies

Requires DXR 1.1 support for in line ray tracing.

Examples

Sponza:

Baked AO map on Sponza

Suzanne:

Baked AO map on Suzanne

About

A demo of ambient occlusion map baking using DXR

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.3%
  • C 20.2%
  • Other 0.5%