optimize light selection

This commit is contained in:
zomseffen 2025-03-05 16:56:48 +01:00
parent 1a30887a7d
commit 7a58ba9733
6 changed files with 62 additions and 13 deletions

View file

@ -62,6 +62,7 @@ pub struct AppData {
pub scene_rt_memory_size: u64,
// values passed to shader
pub num_lights_per_volume: u32,
pub min_light_weight: f32,
pub max_iterations_per_light: u32,
pub diffuse_raster_steps: u32,
pub diffuse_raster_size: f32,