Skip to content

Commit

Permalink
tweaked samples per pixel + max depth
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Dec 30, 2024
1 parent de1918c commit a2be8f5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class PathTracer {
private int canvasHeight = 480;
private BufferedImage image;

private int samplesPerPixel = 20;
private int maxDepth = 4;
private int samplesPerPixel = 500;
private int maxDepth = 3;
private ColorDouble ambientColor = new ColorDouble(0.25,0.25,0.25,1);
private ColorDouble sunlightColor = new ColorDouble(1,1,1,1);
private double sunlightStrength = 1.0;
Expand Down

0 comments on commit a2be8f5

Please sign in to comment.