Problem with texture

Im having a problem with some texture in a blackjack gaming card im doing. I made boxes, and use texture on the faceuv of the box with part of the sprite.

This is the sprite:
https://ibb.co/TRyvS13

This is how it is showing on my game
https://ibb.co/1mBXxK8

Could someone help-me? I dont know how to fix it, because all magenta cards works fine, but cyan colors are doing this. Is it because of the color?

If i use: mat.diffuseTexture.hasAlpha = true; Does show correctly the card, but i cant use alpha true.

It is because you use a highlight layer which is not compatible with transparency I guess.

1 Like