Meshing and lighting per section
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user