2D Toolkit Forum
2D Toolkit => Support => Topic started by: ShabihK on July 04, 2014, 10:45:49 am
-
Hi! I'm using 2D toolkit for the animations that I make in Spine. When I want to reduce the opacity of and sprite it becomes darker that in the original animation. I think that maybe is fault of the shader and I must to use another (tk2d/BlendVertexColor). Do you have any suggestion?
This is the original animation:
https://drive.google.com/file/d/0B84ZVCD9WGl7a2JmS2hFWTdTemc/edit?usp=sharing (https://drive.google.com/file/d/0B84ZVCD9WGl7a2JmS2hFWTdTemc/edit?usp=sharing)
And this is how it look in Unity:
https://drive.google.com/file/d/0B84ZVCD9WGl7QTFTeXViSHUyWFU/edit?usp=sharing (https://drive.google.com/file/d/0B84ZVCD9WGl7QTFTeXViSHUyWFU/edit?usp=sharing)
thank you
-
tk2dBlendVertexColor simply outputs what it reads in. If you change the opacity of the sprite, more of the background will show through? Isn;t that whats happening?
-
The Background is the one that you can see in both images. The second image I took it from Unity and it's darker that the same frame in the animator tool and I wonder why.
-
Ok I solved adding a new material with another shader (Spine/Skeleton) in some textures and checking pre-multiply. Thank you