A Bevy demo showcasing:
- A Cornell-style box scene
- Volumetric fog (
FogVolume,VolumetricLight,VolumetricFog) - Multiple point lights with shadows & volumetric shafts
- Bloom + HDR tonemapping
- FPS counter
- Interactive slider (adjusts light intensity in real time)
Clone and run directly:
git clone https://github.com/kwstasg/rust_cornell_box.git
cd rust_cornell_box
cargo run --release- Rust (latest stable) โ install via https://rustup.rs/
- Bevy 0.16 โ already specified in Cargo.toml
- GPU โ Drivers with modern API support
The app starts borderless fullscreen on the primary monitor.
Drag the slider at the bottom of the screen to change ceiling light brightness. FPS counter is shown in the top-right corner.
