Bevy Voxel Cone Tracing

bevy-hikari is an implementation of voxel cone tracing global illumination with anisotropic mip-mapping in Bevy.

Bevy Version Support

| bevy | bevy-hikari | | ------ | ------------- | | 0.6 | 0.1 |

Limitations

The implementation is very basic and have, but not limited to, the following limitations: - Only directional light is supported - Only support 256x256x256 voxel grid - Only with indirect diffuse light, no glossy reflections

Examples

Two examples are included: one minimal example, one in which can move around and adjust light directions.

Controls for the Example scene.rs

| Control | Binding | | -------------------- | ---------- | | Toggle Lock Cursor | Esc | | Move Light Direction | Arrow Keys |

| Cursor Locked | | | ------------------------ | ------------------ | | Move Camera Horizontally | W, A, S, D | | Move Camera Up | Space | | Move Camera Down | Shift |

| Cursor Unlocked | | | ----------------------- | ------------------ | | Move Model Horizontally | W, A, S, D | | Move Model Up | E | | Move Model Down | Q |

License

Just like Bevy, all code in this repository is dual-licensed under either:

at your option.