You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using copy_texture_to_texture with the webGL2 backend and array textures I get invalid data displayed. It's hard to tell exactly what is going wrong since I can't really debug the code. I tried SpectorJS but it does not show individual textures.
Here are some screenshots from render doc:
The actual textures as an atlas(converted to array texture with copy_texture_to_texture):
As you can see we actually get some data from the original texture. My hunch is that the memory accessed for the atlas texture are incorrect but I'm not even sure where to check within wgpu for webgl2 and copy_texture_to_texture?
Description
When using
copy_texture_to_texture
with the webGL2 backend and array textures I get invalid data displayed. It's hard to tell exactly what is going wrong since I can't really debug the code. I tried SpectorJS but it does not show individual textures.Repro steps
Clone:
https://github.com/StarArawn/bevy_ecs_tilemap
Run(wasm/webGL2/array texture):
Run(wasm/webGL2/atlas):
Run(desktop)
Expected vs observed behavior
Compare with the desktop or atlas versions and you can see the issue.
Extra materials
None
Platform
Chrome/WebGL2
The text was updated successfully, but these errors were encountered: