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

Merged

Conversation

@2youyou2
Copy link
Collaborator

commented May 22, 2019

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

Changes:

  • 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

ci/circleci: test Your tests passed on CircleCI!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.