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

optimize Label black border on bytedance platform #8319

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

PPpro
Copy link
Contributor

@PPpro PPpro commented Mar 3, 2021

Changelog:

  • 优化字节的文字黑边问题的处理

说明:

  • 字节 SDKVersion < 2.0.0 的情况下,默认是开启预乘的,此时如果用户配置 Label 组件的 srcBlendFactor 为 SRC_ALPHA 时,引擎应该帮用户改为 ONE 才是符合用户预期的
  • 字节 2.0.0 版本后修复了预乘问题,这时候就不需要这部分修复了

@SantyWang SantyWang merged commit a14f363 into cocos:v3.0.1 Mar 4, 2021
@PPpro PPpro deleted the 301-label branch March 4, 2021 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants