* Instanced objects are now considered a single object when generating rendering statistics
This commit is contained in:
parent
8738f961ea
commit
ef1e69c182
@ -125,7 +125,7 @@ public class Statistics {
|
||||
if( !enabled )
|
||||
return;
|
||||
|
||||
numObjects += count;
|
||||
numObjects += 1;
|
||||
numTriangles += mesh.getTriangleCount(lod) * count;
|
||||
numVertices += mesh.getVertexCount() * count;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user