Awesome
XenkoVoxelGI
A voxel cone tracing implementation for the Xenko game engine!
It's in its early stages but feel free to check it out.
Demo
Download an demo build <a href="https://forums.xenko.com/t/voxel-gi-implementation/1947/6?u=spike1">here</a>!
Setup
<p align="center"> <img src="Screenshots/Screenshot1.png" alt="Best lighting" width="380" /> <img src="Screenshots/Screenshot2.png" alt="Also best lighting" width="380" /> </p>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!
Features
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