bevy-hikari
is an implementation of voxel cone tracing global illumination with anisotropic mip-mapping in Bevy.
| bevy
| bevy-hikari
|
| ------ | ------------- |
| 0.6 | 0.1 |
The implementation is very basic and have, but not limited to, the following limitations: - [ ] Only directional light is supported - [ ] Only support 256x256x256 voxel grid - [x] Glossy reflections implemented
Two examples are included: one minimal example, one in which can move around and adjust light directions.
You can download and test the compiled examples here.
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
|
Just like Bevy, all code in this repository is dual-licensed under either:
at your option.