Skip to content

WhyPenguins/XenkoVoxelGI

Repository files navigation

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 here!

Setup

Best lighting Also best lighting

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

About

A voxel cone tracing implementation for the Xenko game engine!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages