Anti aliasing by multisampling

This commit is contained in:
CDaut 2023-11-24 19:56:04 +01:00
parent ab590a4844
commit 9fa51dd71f
7 changed files with 107 additions and 57 deletions

View file

@ -1,3 +1,5 @@
#![feature(array_zip)]
mod renderer;
mod geometry;
mod ray;
@ -25,6 +27,9 @@ pub struct Args {
/// image height
#[arg(long)]
height: usize,
/// rays per pixel
#[arg(long)]
multiplier: usize,
}
fn main() {