flx max depth
This commit is contained in:
parent
2ab82d4c92
commit
3b3cb72dc0
|
@ -88,7 +88,7 @@ pub fn main() anyerror!void {
|
||||||
const imageWidth = 600;
|
const imageWidth = 600;
|
||||||
const imageHeight = @floatToInt(usize, imageWidth / aspectRatio);
|
const imageHeight = @floatToInt(usize, imageWidth / aspectRatio);
|
||||||
const samplesPerPixel = 100;
|
const samplesPerPixel = 100;
|
||||||
const maxDepth = 5;
|
const maxDepth = 50;
|
||||||
|
|
||||||
// World
|
// World
|
||||||
const materialGround = Material{
|
const materialGround = Material{
|
||||||
|
|
Loading…
Reference in a new issue