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)
- Main branch fails to compile on Rust beta. HOT 2
- Mesh2d improvements tracking issues
- Remove `check-cfg` when Rust 1.80 is released
- `ci setup` command
- transmission renders black on macOS HOT 1
- OwningPtr should impl From<Box<T>> HOT 2
- Implement `remove_by_id` on EntityWorldMut HOT 1
- Some KTX2 Images fail to load
- Not a precise copy of the texture Image
- `init_gizmo_group` silently ignores missing `RenderApp` if in wrong order
- Weird Rendering Order
- Phantom key presses on window focus change (alt+tab, etc)
- The vector obtained by multiplying the quaternion by the normalized vector may not be normalized HOT 1
- Winit panics in AppState::clear_callback HOT 1
- Add a standardized way to track simulation time for interoperability HOT 2
- Bevy Preferences API HOT 4
- There should be some kind of error for spawning a scene handle without a `SceneBundle`. HOT 3
- game_menu example took 93% of cpu HOT 6
- 9-Slices don't update when using RenderAssetUsages::RENDER_WORLD
- Lights with radius overlapping with mesh result in sharp specular cutoff 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.