tilemap
tilemap copied to clipboard
Improper rendering on retina displays
When using a retina display (tested on a MacBook with Chrome), the tilemap example renders even more zoomed out, moves faster, and has small gaps between tiles (visibility of gaps changes as camera moves). 
Its interesting that lines are not aligned with half-tiles and not whole tiles.
Quick video: https://www.youtube.com/watch?v=M_vbfNer0PM
Is it fixed now, in https://pixijs.github.io/pixi-tilemap/?resolution=2&scale=1.4 ?
No, when the scale (or resolution) is not an integer value, you still have the lines.
resolution must be 2 for retina. I thought it will work for every scale :(
Some android devices use pixel ratios like 2.5 or 3.5
Does it still not work?
I'm not actually sure, I was just reading through the open issues on this repo
@ivanpopelyshev Hello, I have similar issue on android device with devicePixelRatio = 3, but it happens, only when part of map packed into sprite sheets (with or without tinypng). If each part of map is separate png or sprite sheets which includes only one png it works well. Any idea why? Example from above also gives gaps:(
@ivanpopelyshev Hello, when are you expecting to merge branch https://github.com/pixijs/tilemap/tree/dev-precision as I see adding precision to shader should fix this issue. Tested on mine and it's helping
I have a problem with it, I cant build the lib :))))) Im asking @ShukantPal to do that
:+1
never mind, moving frag/vert files back and making new version
Done, 3.2.2. @redgvin please check it
@ivanpopelyshev from first testing looks good for all my cases, we will go through QA and more devices and I give you more detail feedback. Many thanks.
@ivanpopelyshev tested on different devices, it seems working well, I guess you can close an issue