Skip to content

Commit

Permalink
Add ambient light to the profiler
Browse files Browse the repository at this point in the history
Fixes #247
  • Loading branch information
vorg committed Sep 24, 2019
1 parent 048b754 commit 857f1d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions profiler.js
Expand Up @@ -207,6 +207,9 @@ function createProfiler(ctx, renderer) {
)}`
)
lines.push(`Skyboxes: ${pa3(renderer.getComponents('Skybox').length)}`)
lines.push(
`Ambient Lights: ${pa3(renderer.getComponents('AmbientLight').length)}`
)
lines.push(
`Point Lights: ${pa3(renderer.getComponents('PointLight').length)}`
)
Expand Down

0 comments on commit 857f1d3

Please sign in to comment.