File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ webgl2 = ["bevy/webgl2"]
1919webgpu = [" bevy/webgpu" ]
2020
2121[dependencies .bevy ]
22- version = " 0.18.0 "
22+ version = " 0.19.0-rc.3 "
2323default-features = false
2424features = [" bevy_render" ]
2525
2626[dev-dependencies .bevy ]
27- version = " 0.18.0 "
27+ version = " 0.19.0-rc.3 "
2828default-features = true
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ cargo build --target wasm32-unknown-unknown --example "states" --features="webgp
3030
3131``` bash
3232mkdir -p examples/wasm/target
33- wget https://raw.githubusercontent.com/bevyengine/bevy/refs/tags/v0.15.0 /examples/wasm/index.html -O examples/wasm/index.html
33+ wget https://raw.githubusercontent.com/bevyengine/bevy/refs/tags/v0.19.0-rc.3 /examples/wasm/index.html -O examples/wasm/index.html
3434wasm-bindgen --out-dir examples/wasm/target --out-name wasm_example --target web target/wasm32-unknown-unknown/debug/examples/states.wasm
3535```
3636
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ enum GameState {
1111// This value should be found experimentally by logging `PipelinesReady` in your app
1212// during normal use and noting the maximum value.
1313#[ cfg( not( target_arch = "wasm32" ) ) ]
14- const EXPECTED_PIPELINES : usize = 35 ;
14+ const EXPECTED_PIPELINES : usize = 43 ;
1515// The value will likely differ on the web due to different implementations of some
1616// render features.
1717#[ cfg( all( target_arch = "wasm32" , feature = "webgpu" , not( feature = "webgl2" ) ) ) ]
18- const EXPECTED_PIPELINES : usize = 22 ;
18+ const EXPECTED_PIPELINES : usize = 29 ;
1919// Note: These features can be simplified if your app only builds for one of either
2020// webgpu or webgl2. Simply use `#[cfg(target_arch = "wasm32")]`. If your app builds
2121// for both, you must add these features (or similar) to your app. See `Cargo.toml`.
2222#[ cfg( all( target_arch = "wasm32" , feature = "webgl2" , not( feature = "webgpu" ) ) ) ]
23- const EXPECTED_PIPELINES : usize = 6 ;
23+ const EXPECTED_PIPELINES : usize = 7 ;
2424
2525// You may want to wait an additional period of time or number of frames.
2626//
@@ -53,7 +53,7 @@ fn setup_loading_screen(
5353
5454 commands. spawn ( (
5555 PointLight {
56- shadows_enabled : true ,
56+ shadow_maps_enabled : true ,
5757 intensity : 1_000_000. ,
5858 ..default ( )
5959 } ,
You can’t perform that action at this time.
0 commit comments