Three.js: RENDER WARNING in two examples on Windows Chrome

Created on 2 Aug 2018  路  4Comments  路  Source: mrdoob/three.js

Description of the problem

I see RENDER WARNING in the two examples on my Windows + Chrome.

[.Offscreen-For-WebGL-000002652FEC91C0]RENDER WARNING: Render count or primcount is 0.

https://threejs.org/examples/webgl_octree.html
https://threejs.org/examples/webgl_materials_cubemap_dynamic.html

But I don't see on FireFox nightly. It could be (Windows) Chrome specific issue?

Three.js version
  • [x] Dev
  • [x] r95
  • [ ] ...
Browser
  • [ ] All of them
  • [x] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [ ] All of them
  • [x] Windows
  • [ ] macOS
  • [ ] Linux
  • [ ] Android
  • [ ] iOS
Hardware Requirements (graphics card, VR Device, ...)
Bug

All 4 comments

Possible duplicate of #8395 ?

It occurred in PlayCanvas as well back in 2016: https://github.com/playcanvas/fonts/issues/5

Apparently the fix back then was to ensure that the renderer isn't drawing anything if the draw count is 0.

https://github.com/aardgoose/three.js/commit/b4071ee0e0ff74e039251fe84808b904081070fa

I also see the warnings with Chrome on macOS (10.13.6).

webgl_octree should be okay now.

And the other one, too. There was some bad variable scoping in both examples which leads to undefined geometries/materials when creating meshes.

Was this page helpful?
0 / 5 - 0 ratings