scorper

It is for runtime 3.7, for some reason I could not use 3.8.

I am a newer to spine&webgl.

I tried the webgl example, which is fine running alone.

Then, I want to put a canvas above other html element, and the canvas need to be transparent.

However, when I use
canvas.getContext("webgl", {alpha: true})
with spineboy demo, it looks some color missed while playing the animation.

How could I do to pass "alpha: true" to "canvas.getContext()" and still remain the same effect as before?
scorper
  • Beiträge: 1

Mario

Could you show the "missing" color? Are you using pre-multiplied alpha for your texture atlas exports?
Benutzeravatar
Mario

Mario
  • Beiträge: 2302


Zurück zu Runtimes