Comments (4)
bevy_ecs_tilemap/src/render/texture_array_cache.rs
Lines 151 to 152 in 3171dcb
The current workaround is incomplete,
count
should not be 1 or divisible by 6.See gfx-rs/wgpu#3124 (comment) for more context.
I'm not sure why count shouldn't be 1 or divisible by 6? It also looks like wgpu hasn't implemented a fix yet.
from bevy_ecs_tilemap.
I have been meaning to test this more with opengl on the desktop, but I think that on webgl2 our users aren't really affected by this because they need to use the atlas
feature to avoid another bug anyway.
I attempted this earlier, but I think there are some other criteria that had me scratching my head at the time:
https://github.com/gfx-rs/wgpu/blob/9dc834a0ac694d576a584a89f72733a0bb2f4485/wgpu-hal/src/lib.rs#L884
from bevy_ecs_tilemap.
I'm not sure why count shouldn't be 1 or divisible by 6?
Since we might use GL_TEXTURE_2D
, GL_TEXTURE_CUBE_MAP
or GL_TEXTURE_CUBE_MAP_ARRAY
based on this heuristic instead of the intended GL_TEXTURE_2D_ARRAY
.
from bevy_ecs_tilemap.
I think that the other bug I alluded to gfx-rs/wgpu#3197 has been fixed. It doesn't seem totally necessary to use the atlas
feature now, so we should probably take a look at this again.
from bevy_ecs_tilemap.
Related Issues (20)
- TileStorage, TilemapSize, TileTextureIndex, TilePos are not Components anymore. HOT 2
- Obscure error in 'basic' example with slight modifications. HOT 3
- Update to Bevy 0.14 HOT 7
- could some one turn this in to an example ?
- Compile error: crate-private type `RenderChunkSize` in public interface HOT 6
- Instead ov `src/map/mod.rs`, it should just be `src/map.rs`. HOT 2
- Bevy 0.13 race condition resulting in tiles not rendering HOT 2
- Auditing examples on main after updating to Bevy 0.13 HOT 2
- Improve Tiled support HOT 3
- how to make a tilemap with atlas? HOT 3
- Does not render anything on my machine HOT 3
- Manage z-index with spritesheet moving character HOT 1
- layers and moving sprites HOT 4
- I have a problem with bevy 0.13
- TilemapPlugin trait bound not satistfied for bevy 0.14.0 HOT 2
- Consider adding another maintainer and cargo owner HOT 4
- webgl2 padding enhancement
- How to find z index of tile
- Add Release on GitHub
- Consider removing, maintaining, or simplifying the `tiled` and `ldtk` examples.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_ecs_tilemap.