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