tweak quality
This commit is contained in:
parent
ac56eed3a2
commit
46f28e9b65
|
@ -175,11 +175,11 @@ pub fn main() anyerror!void {
|
||||||
|
|
||||||
|
|
||||||
// Image
|
// Image
|
||||||
const aspectRatio: f32 = 16.0 / 9.0;
|
const aspectRatio: f32 = 3.0 / 2.0;
|
||||||
const imageWidth = 600;
|
const imageWidth = 600;
|
||||||
const imageHeight = @floatToInt(usize, imageWidth / aspectRatio);
|
const imageHeight = @floatToInt(usize, imageWidth / aspectRatio);
|
||||||
const samplesPerPixel = 100;
|
const samplesPerPixel = 128;
|
||||||
const maxDepth = 50;
|
const maxDepth = 16;
|
||||||
|
|
||||||
// World
|
// World
|
||||||
var world = World.init();
|
var world = World.init();
|
||||||
|
|
Loading…
Reference in a new issue