StarArawn / bevy_ecs_tilemap

A tilemap rendering crate for bevy which is more ECS friendly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WASM Support for texture arrays

aleokdev opened this issue · comments

The crate doesn't seem to work with WASM, as it doesn't render anything. Tried the LDTK example and got this:
Screenshot_20220923_230924

commented

You need to use the atlas feature on WASM. There is a wgpu bug with array textures.

Works perfectly, thanks!

@StarArawn Can you link to the relevant WGPU issue here? With that, we can close this issue, I think.

commented

@StarArawn Can you link to the relevant WGPU issue here? With that, we can close this issue, I think.

No issue that I know of. I can probably create one though. I need to collect more info though.