Art is displayed with a white border when resolution mode is auto

Hi
Art is displayed with a white border when resolution mode is auto :

All texture has same properties like this :

and also test the render with Filtering = linear

rendering setting :

and I also read this document :
https://developer.playcanvas.com/en/user-manual/optimization/runtime-devicepixelratio/

one of textures:
Asset 50

but I can’t fix this issue

Hi @mrb71,

Find your texture assets and set their UV address from to clamp. That will solve that error:

image

2 Likes

Thanks @Leonidas
Your solution solved a problem :hugs:
But the border are still white (they’re displayed correctly in the editor)
Maybe not clear in this picture but in the gameplay it’s a sharp white

Ah that’s a resolution / resizing issue with filtering.

I remember that happening between editor/launch views, one way to improve that usually is to resize your graphics to be closer to the resolution they appear in game.

Here is a similar post on the topic which provides a number of ways to work around that:

1 Like

Thanks @Leonidas the problem fixed with SuperPNG plugin for photoshop :

image

1 Like

Might be related to this issue: Artifacts on our 2D assets - #16 by yaustar

2 Likes