Hi, i was wondering how to enable mipmaps using the pixijs runtime?

it seems that it needs to be done on the textures instead? is there a way to individualy set the textures?

when exporting i've set pow2. However when the spine container is scaled down, it looks quite blurry

Related Discussions
...

To enable mipmaps using the PIXIJS runtime, you can set the texture filters to use mipmaps. This is done on the textures themselves. If you have an atlas with a single page, you can enable mipmaps by setting the filters like this:

const atlas = PIXI.Assets.get("atlasKey");
atlas.pages[0].texture.setFilters(
  spine.TextureFilter.MipMapLinearLinear,
  spine.TextureFilter.MipMapLinearLinear,
);

This code will generate mipmaps for the texture, which should help in maintaining smoother edges when the Spine container is scaled down. If you have multiple textures, you will need to apply this setting to each texture individually.

This looks like its for v7? This doesnt look right for v8 though the atlast doesnt seem to have pages and texture

    benjaminhon

    Have you tried it? It should also work in Pixi v8.
    The atlas does have pages, and each texture is associated with a corresponding texture.