Sick ass cornel box

This commit is contained in:
2023-12-04 03:49:20 -05:00
parent daed0ef0b9
commit 5fe2e4a4e6
7 changed files with 209 additions and 66 deletions
+6 -4
View File
@@ -37,6 +37,7 @@ pub struct RaytracingOption {
pub pixel_clear: [u8; 4],
pub pixels_per_thread: u32,
pub buffer_proportion: f32,
pub epsilon: f64,
pub buffer_fov: f64,
pub ray_depth: u8,
pub diffuse_rays: u8,
@@ -56,18 +57,19 @@ impl RaytracingOption {
ray_randomness: 100.0,
clear_color: [0x22, 0x00, 0x11, 0x55],
pixel_clear: [0x55, 0x00, 0x22, 0x55],
pixels_per_thread: 200,
buffer_proportion: 1.0,
buffer_fov: 110.0,
pixels_per_thread: 1000,
buffer_proportion: 0.1,
buffer_fov: 70.0,
ray_depth: 5,
diffuse_rays: 3,
diffuse_coefficient: 0.8,
diffuse_coefficient: 0.1,
bvh_active: false,
shadows: true,
diffuse: true,
reflect: true,
specular: true,
falloff: true,
epsilon: 1e-6,
}
}
}