NijiNeko
Hello!
You are right, Spinebot answer is inaccurate. I've hidden it.
spine-pixi
detects the filters to use by parsing them for you from the .atlas
file.
Try to open your text atlas file and see the value of the filter
entry for each page.
If the value is filter: Nearest, Nearest
, this is the reason why the textures are less smooth.
In this case, the easiest solution is to export you assets again using Linear
as value in the Filter min
and Filter mag
settings of the Texture Packer Settings
.
Otherwise you can also just manually uptate these values.
You can change these values at runtime too. Just access the atlas page and invoke the setFilters(minFilter: TextureFilter, magFilter: TextureFilter)
method. Here you can fine the possible values of the TextureFilter
enum. However, in Pixi only Linear
and Nearest
are available.
Just one more additional thing. We just release spine-pixi-v8
. With this update we also deprecated moved spine-pixi
to spine-pixi-v7
. If you want to stay on PixiJS 7, please move to spine-pixi-v7
.