Replies: 1 comment
-
If your atlas is coming pre-baked from a third party software, try "extruding" the tiles, this is basically adding some pixels of padding around each tile, of the same colour as the adjacent tile. Example: Depending on your needs, this may only need to be of 1 pixel wide. Unfortunately, seems that the native atlas builder of bevy does not support (Yet??) that feature. But as I said, if you're using a third party tool, it may have that option. As a side note, if you want to post code, try annotating the language of the code (in this case rust), as it makes it easier to read. <!-- Eg: -->
```rs
// Like this
let code = "blarg";
``` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have some code that should draw a tilemap. It does, but there is a gap between the tiles (when the camera zooms in). At first I thought of a problem like texture bleeding and tried to fix it by adding a value for uv. However, that didn't help.
What could be the problem?
Beta Was this translation helpful? Give feedback.
All reactions