Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THREE warning: trying to use xx texture units while this GPU supports only 16 #979

Closed
bkuster opened this issue Dec 19, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@bkuster
Copy link
Contributor

bkuster commented Dec 19, 2018

Updating from 2.5 to 2.6: the following warning gets logged thousands of times:

THREE.WebGLRenderer: Trying to use 31 texture units while this GPU supports only 16

This happens, regardless of the layers present in the scene. It even occurs with an empty GlobeView

My Environment

  • Version used: 2.6
  • Browser Name and version: Chrome 71.0.3578.98
  • Operating System and version (desktop or mobile): Windows 10
  • Graphics Card: NVIDIA GeForce GTX 750

Steps to Reproduce (for bugs)

  1. Open one of the provided itowns examples and take a peek into the console (given a GPU which does not support more then 16 texture units).
@gchoqueux
Copy link
Contributor

Thanks to report issue, we work to fix it.

@gchoqueux gchoqueux self-assigned this Dec 19, 2018
@gchoqueux gchoqueux added this to the 2.6.1 milestone Dec 19, 2018
gchoqueux added a commit to gchoqueux/itowns that referenced this issue Dec 20, 2018
gchoqueux added a commit to gchoqueux/itowns that referenced this issue Dec 20, 2018
…iformsNeedUpdate

There was a double callings of WebGLUniforms.upload with uniformsNeedUpdate.
It rolls out a double allocation of uniforms and therefore an overflow of webgl capabilities texture units.

fix iTowns#979
gchoqueux added a commit that referenced this issue Dec 20, 2018
…iformsNeedUpdate

There was a double callings of WebGLUniforms.upload with uniformsNeedUpdate.
It rolls out a double allocation of uniforms and therefore an overflow of webgl capabilities texture units.

fix #979
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants