Skip to content
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
@mjhouse

Description

@mjhouse

Bevy Tilemap version

bevy = "0.5"
bevy_tilemap = "0.4.0"

Operating system & version

Ubuntu 20.04

What you did

  1. Created a 30x30 hex tile map
  2. Modified transform.scale of the 2d camera (zoomed out)
  3. 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.

bevy_tilemap_flickering_edge

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions