A voxel cone tracing implementation for the Xenko game engine!
It's in its early stages but feel free to check it out.
Download an demo build here!
Prerequisite
You'll need to compile the Xenko fork here, on the branch GIPatches. I had to add a few features to Xenko for the rest of it to work, the changes are really small so check them out if you wish.
After that's compiled, you can load up the project here and have a look!
Voxelization
-
- Geometry shader based axis projection
-
- Averaging of fragments lying in the same voxel
-
- Solid voxelization (fills areas between front and backfaces with solid black)
-
- Downsampling to mip-maps
-
- MSAA voxelization
-
- Clipmaps
-
- Anisotropic Voxels
-
- Partial revoxelization
Cone Tracing
-
- 12 cone diffuse light
-
-
- More cone setups for different quality
-
-
- Infinite bounces (one frame delay between each one)
-
- Specular
-
- Refraction
-
- Sky light based on sky box?
UI
-
- Debug Voxels
-
- Voxel Volume Component
-
- Voxel Light Type