-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
spine设计结构和UIOpacity并不匹配 #18123
Comments
请描述下具体的错误是什么以及如何重现的。 |
spine第一帧会闪一下,因为spine刷新渲染数据时,并没有用父节点的opacity |
@minggo @bofeng-song 这个修复有问题,只读取了父节点的opacity,我把透明度改到了祖先节点上,问题依旧 |
祖先节点的opacity由 batcher2d计算;这里只计算当前节点的opacity;理论上有问题最多是延迟一帧 |
延迟一帧这种方案并不合理,开发者也无法接受 |
后面再择机处理 |
spine相关的问题优先级需要很高,大部分公司的项目都是用spine的,而且这个问题很常见 |
Cocos Creator version
3.8.5
System information
Window 10
Issue description
ts引擎中,spine用的opacity并不是从祖先节点中传递过来的,这会导致spine的透明度显示异常,这个问题存在很久了,整个spine设计结构和UIOpacity并不匹配
Relevant error log output
No response
Steps to reproduce
...
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: