Move the visible surface list to HWDrawInfo
This commit is contained in:
parent
651b2ef9e3
commit
d9b066ad37
9 changed files with 58 additions and 75 deletions
|
|
@ -32,7 +32,7 @@ ADD_STAT(lightmap)
|
|||
auto stats = levelMesh->GatherSurfacePixelStats();
|
||||
|
||||
out.Format("Surfaces: %u (sky: %u, awaiting updates: %u)\nSurface pixel area to update: %u\nSurface pixel area: %u\nAtlas pixel area: %u\nAtlas efficiency: %.4f%%",
|
||||
stats.surfaces.total, stats.surfaces.sky, stats.surfaces.dirty,
|
||||
stats.surfaces.total, stats.surfaces.sky, std::max(stats.surfaces.dirty - stats.surfaces.sky, (uint32_t)0),
|
||||
stats.pixels.dirty,
|
||||
stats.pixels.total,
|
||||
atlasPixelCount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue