pixijs / spine-v8

PixiJS v8 port of the official spine runtime
https://pixijs.io/spine-v8/examples/
MIT License
22 stars 1 forks source link

The rendering in Phaser and Pixi appears differently. #2

Open peterlee-dev opened 2 months ago

peterlee-dev commented 2 months ago

스크린샷 2024-04-19 13 12 34 pixi 스크린샷 2024-04-19 13 12 45 phaser

In Phaser, the character's ears look smooth, but in Pixi, I noticed that there are lines appearing on the ears during rendering. What could be the issue?

GoodBoyDigital commented 1 month ago

hey there! thanks for sharing, would you mind running this in the WebGL renderer pls? I think this may be a WebGPU alpha thing I need to look into!

peterlee-dev commented 1 month ago

I checked the renderer of the app and found out that it's using WebGL instead of WebGPU.

GoodBoyDigital commented 4 weeks ago

heya - i think this is a premultiplied alpha issue. if you can save out your images with non-pre-multiplied alpha. It should be a temporary fix!

GoodBoyDigital commented 2 weeks ago

hey @peterlee-dev would you mind sending the animation across please? will try to take a look at that this week! Thanks!

GoodBoyDigital commented 2 weeks ago

tbh - I probably only need the texture! could you post that here? thanks! otherwise, we could chat on the discord?

peterlee-dev commented 2 weeks ago

I have sent the problematic Spine file to mat.groves@play.co. I also tested it with version 2.0.2, but encountered errors. Thank you for your assistance. Uncaught Error: String in string table must not be null. at SkeletonBinary.readSkeletonData (@pixi_spine-pixi.js?v=5b7827b7:8534:15) at _Spine.from (@pixi_spine-pixi.js?v=5b7827b7:12399:33) at main.ts:29:19

peterlee-dev commented 2 weeks ago

It seems like the error is due to differences in Spine Editor versions. There are no errors in Spine Core version 4.2.26. However, the issue with the line being drawn is the same in previous versions as well.