aboutsummaryrefslogtreecommitdiff
path: root/src/ui/benchmarkView.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/benchmarkView.ts')
-rw-r--r--src/ui/benchmarkView.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/benchmarkView.ts b/src/ui/benchmarkView.ts
index 487ec63..baba3e8 100644
--- a/src/ui/benchmarkView.ts
+++ b/src/ui/benchmarkView.ts
@@ -82,7 +82,7 @@ function initDispatcher(width: number, height: number, options: RaytracerOptions
spheres,
planes,
lights,
- new Colour(221, 221, 221),
+ new Colour(40, 40, 40),
options
);
@@ -106,6 +106,8 @@ function getBenchmarkRenderOptions(multiCore: boolean) {
maxDrawDistance: 1000,
directMemoryTransfer: true,
chunkSize: 0,
- chunkAllocationMode: ChunkAllocationMode.SEQUENTIAL
+ chunkAllocationMode: ChunkAllocationMode.SEQUENTIAL,
+ chunkBorderColour: new Colour(220, 128, 128),
+ chunkUnrenderedColour: new Colour(120, 120, 120)
}
}