This commit is contained in:
Jonathan Flueren 2022-07-27 00:55:07 +02:00
parent 69cedf3af2
commit 5f33c86566

View file

@ -300,7 +300,7 @@ fn main() {
let image_height = (image_width as f64 / aspect_ratio) as u32; let image_height = (image_width as f64 / aspect_ratio) as u32;
let samples_per_pixel = 50 as u32; let samples_per_pixel = 50 as u32;
let max_depth = 50; let max_depth = 50;
let antialiasing_threshold = 0.5; // at what diff between two colors will a pixel be antialiased let antialiasing_threshold = 0.3; // at what diff between two colors will a pixel be antialiased
let vfov = 40.0; let vfov = 40.0;
let lookfrom = Point3::new(2.0, 0.8, 3.0); let lookfrom = Point3::new(2.0, 0.8, 3.0);