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

support unpack float32 texture to rgba8888 texture for skinning #4473



Copy link

@2youyou2 2youyou2 commented May 22, 2019

Re: cocos-creator/2d-tasks#1436


  • set max joint uniform count to 50
  • when joints count is bigger than 50, then fallback to use float texture
  • if not support float texture, then use rgba8888 texture to store float32 and unpack in the shader, which is much slower
@2youyou2 2youyou2 requested review from pandamicro and caryliu1999 May 22, 2019
@2youyou2 2youyou2 merged commit c798f8f into cocos-creator:v2.1.2 Jun 4, 2019
1 check passed
@2youyou2 2youyou2 deleted the v2.1.2-skinning-unpack-float32 branch Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants