Skip to content

kwstasg/rust_cornell_box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Cornell Box + Volumetric Fog

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)

๐Ÿ“ธ Screenshot

Demo

๐Ÿš€ Run

Clone and run directly:

git clone https://github.com/kwstasg/rust_cornell_box.git
cd rust_cornell_box
cargo run --release

๐Ÿ› ๏ธ Requirements

  • 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.

๐ŸŽฎ Usage

Drag the slider at the bottom of the screen to change ceiling light brightness. FPS counter is shown in the top-right corner.

About

Rust Cornell Box + Volumetric Fog

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages