This repository was archived by the owner on May 7, 2022. It is now read-only.
This repository was archived by the owner on May 7, 2022. It is now read-only.
Flickering edges during zoom/pan #186
Open
Description
Bevy Tilemap version
bevy = "0.5"
bevy_tilemap = "0.4.0"
Operating system & version
Ubuntu 20.04
What you did
- Created a 30x30 hex tile map
- Modified
transform.scale
of the 2d camera (zoomed out) - Modified
transform.translation
of the 2d camera (panned)
What you expected to happen
No flickering lines along the edge of textures.
What actually happened
Observed white, flickering lines, mainly along left edge of tiles
Additional information
I've tried:
- Modifying sampler properties of loaded textures (min_filter etc.)
- Modifying pan to only move by multiples of the current scale
- Changing
GridTopology
The only thing that's had a major effect has been changing pan. Panning by whole numbers removes the lines at scale=1.0. Panning by a multiple of the scale removes the lines at scale=1.0 and stops the flicker at other scales, but doesn't remove the lines.