playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.7k stars 1.36k forks source link

White outline on black tiled sprites in editor and runtime #4330

Open Sarletor opened 2 years ago

Sarletor commented 2 years ago

Description

Tested on 2560x1440 Demo project: https://playcanvas.com/editor/scene/1448233

Steps to Reproduce

  1. Add sprite with dark color side, make it tiled
  2. Add it to the scene, increase width or height. Depends on the dark color side
  3. Move camera in an editor or in a runtime
  4. White line blinks

image

LeXXik commented 2 years ago

Hmm, had a quick look. Some extra notes:

image

yaustar commented 2 years ago

I wonder if it's related to this: https://github.com/playcanvas/engine/issues/4213

yaustar commented 2 years ago

Confirmed the issue is also on 1.53.4