Skip to content

Increase upper limit on number of morph targets / blend shapes #14441

@s5g

Description

@s5g
Description of the problem

As discussed in #6465 the maximum number of rendered morph targets is either 8 (targets have vertices only) or 4 (targets have vertices and normals). This limit is related to the WebGL MAX_VERTEX_ATTRIBS value which in turn is based on GPU support.

http://webglstats.com/webgl/parameter/MAX_VERTEX_ATTRIBS
http://webglstats.com/webgl2/parameter/MAX_VERTEX_ATTRIBS

However many models, in particular those used for facial animation, may have more than 4 or 8 active blendshapes. So currently these models will not render correctly.

The suggestion is to look for ways to increase the limit.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions