From 43d2564b0a35eb5f2ec5cf3cc60880cd94f321c1 Mon Sep 17 00:00:00 2001 From: Vadim Goncharov Date: Mon, 8 Jan 2024 02:35:47 +0300 Subject: [PATCH] [ts][pixi] Fix not working alpha channel in mesh animations (#2439) --- spine-ts/spine-pixi/src/SlotMesh.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/spine-ts/spine-pixi/src/SlotMesh.ts b/spine-ts/spine-pixi/src/SlotMesh.ts index cafb14981..f62563f45 100644 --- a/spine-ts/spine-pixi/src/SlotMesh.ts +++ b/spine-ts/spine-pixi/src/SlotMesh.ts @@ -99,6 +99,7 @@ export class SlotMesh extends Mesh implements ISlotMesh { SlotMesh.auxColor[3] = finalVertices[5]; this.tint = SlotMesh.auxColor; + this.alpha = SlotMesh.auxColor[3]; this.blendMode = SpineTexture.toPixiBlending(slotBlendMode); if (this.geometry.indexBuffer.data.length !== finalIndices.length) {