flx max depth

master
Fabien Freling 2021-05-27 23:07:07 +02:00
parent 2ab82d4c92
commit 3b3cb72dc0
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ pub fn main() anyerror!void {
const imageWidth = 600;
const imageHeight = @floatToInt(usize, imageWidth / aspectRatio);
const samplesPerPixel = 100;
const maxDepth = 5;
const maxDepth = 50;
// World
const materialGround = Material{