- Modifié
[Cocos2dx] Opacity effects work randomly.
When I used cocos2d-x 2.x, It works fine.
But in Cocos2d-x 3.x( currently 3.2rc0 ), It works randomly.
Here is test video.
https://drive.google.com/file/d/0By1nLN ... sp=sharing
I already test premultiplyAlpha & non-premultiplyAlpha export.
If CCSkeleton's blendFunc fixed non-premultiplyAlpha it works better, but it has another problem that has something border
How can I fix it?
Can you post a comparison with how it is supposed to look?
I want to show fade out, like follow
but sometime look like follow ( white out )
Not always,
Are you using additive blending for the smoke cloud ?
No every value is default, including texture packer.
I changed only color value ( default FFFFFFFF to FFFFFF00 )
I just want to fade out effect. But randomly looks like additive.
Do not know anyone?
If I set Color alpha value.
sometimes work additive...
It's randomly.
CCSkeleton::
bool premultipliedAlpha; // is Never initialized.
if I set true, use non-premultiplied png image. work's fine.
But, premultiplied png image is still black border.