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
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,11 +81,21 @@ This can be made simple with [wasm-server-runner](https://github.com/jakobheller
81
81
82
82
After that's installed and configured, run:
83
83
84
+
#### WebGL2
85
+
84
86
```bash
85
-
cargo run --target wasm32-unknown-unknown --example animation --release --features atlas
87
+
cargo run --target wasm32-unknown-unknown --example animation --release --features atlas,bevy/webgl2
86
88
```
87
89
88
-
**Note**: You **must** use the `atlas` feature when targeting the web. See [#283](https://github.com/StarArawn/bevy_ecs_tilemap/issues/283).
90
+
**Note**: You **must** use the `atlas` feature when targeting the web with WebGL2. See [#283](https://github.com/StarArawn/bevy_ecs_tilemap/issues/283).
91
+
92
+
#### WebGPU
93
+
94
+
WebGPU is not yet well [supported](https://caniuse.com/webgpu) by many browsers.
95
+
96
+
```
97
+
RUSTFLAGS=--cfg=web_sys_unstable_apis cargo run --example animation --target=wasm32-unknown-unknown
0 commit comments