- Изменено
I have a problem with exporting texture. please help me!
My spine version is 4.0.62
When I drag exported objects to Unity, I find texture have error about alpha.
This is spine exported texture open with Photoshop.
This is spine exported texture show in Unity Inspector.
This is spine animation in Unity.
This is Spine Texture packge Setting.
by the way, I can't active Spine material Straight Alpha Texture field in Unity, because it can't work on Mobile devices.(I only test in Android.)
This is Spine raw project.
SpineProject.rar
You are exporting your textures as straight alpha, but it seems that you have not adjusted your import settings to straight alpha in Unity. Please see the following section of the spine-unity runtime documentation:
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Import
Misaki написалYou are exporting your textures as straight alpha, but it seems that you have not adjusted your import settings to straight alpha in Unity. Please see the following section of the spine-unity runtime documentation:
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Import
I try it,but it only work on PC, can't work on mobile device(for now, I just test on Android.)
Misaki написалYou are exporting your textures as straight alpha, but it seems that you have not adjusted your import settings to straight alpha in Unity. Please see the following section of the spine-unity runtime documentation:
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Import
I think I miss some important settings in spine that can make exported texture alpha channel is clean.
liuweichicun написалby the way, I can't active Spine material Straight Alpha Texture field in Unity, because it can't work on Mobile devices.(I only test in Android.)
Why are you exporting as straight alpha but using it without Straight Alpha Texture
enabled? Applying the wrong import settings in Unity will make your atlas look incorrect.
Why can't you enable the Straight Alpha Texture
field Material property in Unity for Mobile? What problem did you encounter when you enabled it?
Misaki написалYou are exporting your textures as straight alpha, but it seems that you have not adjusted your import settings to straight alpha in Unity. Please see the following section of the spine-unity runtime documentation:
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Import
Thanks
Harald написалliuweichicun написалby the way, I can't active Spine material Straight Alpha Texture field in Unity, because it can't work on Mobile devices.(I only test in Android.)
Why are you exporting as straight alpha but using it without
Straight Alpha Texture
enabled? Applying the wrong import settings in Unity will make your atlas look incorrect.Why can't you enable the
Straight Alpha Texture
field Material property in Unity for Mobile? What problem did you encounter when you enabled it?
I should read documentation seriously. The problem is sovled.
Glad to hear you've figured it out, thanks for letting us know.