Comments (1)
The example doesn't even seem to compile for wasm
error[E0063]: missing field `_webgl2_padding` in initializer of `bevy::bevy_core_pipeline::motion_blur::MotionBlur`
--> examples/3d/motion_blur.rs:24:26
|
24 | motion_blur: MotionBlur {
| ^^^^^^^^^^ missing `_webgl2_padding`
For more information about this error, try `rustc --explain E0063`.
error: could not compile `bevy` (example "motion_blur") due to 1 previous error
And it seems there are further issues on wasm after fixing the padding:
ERROR app: panicked at /Users/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glow-0.13.1/src/web_sys.rs:3184:9:
Tex storage 2D multisample is not supported
Stack:
Error
at imports.wbg.__wbg_new_abda76e883ba8a5f (http://127.0.0.1:1334/api/wasm.js:1814:13)
at __wbg_new_abda76e883ba8a5f externref shim (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[284553]:0x5006010)
at console_error_panic_hook::Error::new::h8f2a3c9e1bd5d94b (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[202489]:0x4be32a9)
at console_error_panic_hook::hook_impl::h4b7b11b364c6a021 (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[40389]:0x314ab02)
at console_error_panic_hook::hook::h9bca3edbb9fe0449 (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[248763]:0x4ea24ad)
at core::ops::function::Fn::call::h863dd25d8ad6c6bb (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[219048]:0x4d03942)
at std::panicking::rust_panic_with_hook::h6b00a1542b7e827c (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[84477]:0x3d89f21)
at std::panicking::begin_panic_handler::{{closure}}::hcb858dc6b4beb4ae (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[108401]:0x41e7446)
at std::sys_common::backtrace::__rust_end_short_backtrace::hbb248f505066e51b (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[286862]:0x500d973)
at rust_begin_unwind (http://127.0.0.1:1334/api/wasm.wasm:wasm-function[225466]:0x4d68032)
After fixing disabling MSAA to fix that, things sort of work, but with a bunch of weird artifacts.
from bevy.
Related Issues (20)
- Document that zero-length reflection paths are allowed. HOT 5
- `EMPTY` rect has suboptimal values HOT 3
- High performance sorted queries HOT 13
- Add `World::resource_scope_by_id` HOT 2
- Image loading docs are not clear enough about required feature flags HOT 4
- Squircle / Superellipse for UI / Gizmos / Mesh HOT 6
- Parent device is lost HOT 1
- Add additional names to GLTF entities for easier querying
- Bevy_ui outlines should respect BorderRadius.
- Textures not displaying properly if normal/base texture transforms don't align
- `winit::TabLeft`/`Event::Suspended` doesn't function as intended on WASM HOT 4
- Panic if changing browser zoom in WASM with an overridden scale factor HOT 1
- ECS: Assets on web keep re-downloading (help: banging head against the wall) HOT 1
- Segfault `SIGSEGV (Address boundary error)` when running examples on main HOT 6
- Lack of Doc Comments in some Render Related Files
- Exit not correctly tearing down graphics stack?? HOT 1
- RenderAssetUsages::RENDER_WORLD assets are not cleaned when their handles are dropped HOT 1
- Ui border is 1 pixel too large, or is getting aliased. HOT 11
- Audio getting progressively worse. (By default) HOT 5
- Text styles should be inheritable HOT 1
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.