Meshing and lighting per section

This commit is contained in:
2026-11-07 11:41:21 -03:00
parent 71cbf901a5
commit b726ce9695
21 changed files with 736 additions and 544 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ export class RenderBenchmark {
return {
draw_calls,
quads: RENDER_LAYERS.reduce((sum, layer) => sum + quads[layer], 0),
chunks_in_view: level_renderer.visible_chunks,
sections_in_view: level_renderer.visible_sections,
entities_in_view: level_renderer.drawn_entities,
};
}
+2 -2
View File
@@ -5,7 +5,7 @@
// tools/compare_benchmarks.ts reads to put runs side by side
// changes when the scenes or the level change, since runs of different versions don't compare
export const BENCHMARK_VERSION = 1;
export const BENCHMARK_VERSION = 2;
// how fast and how smooth frames were, from the time between them. the lows are the fps of the frame that 99% (and
// 99.9%) of the others were faster than
@@ -36,7 +36,7 @@ export interface SceneResult {
// what the first paced frame drew, which runs of the same version should about agree on
draw_calls: number;
quads: number;
chunks_in_view: number;
sections_in_view: number;
entities_in_view: number;
}