Commit Graph

198 Commits (2898a72bc03091161f8042412a68cdaf8744b8bd)

Author SHA1 Message Date
Benjamin Hansen 2898a72bc0 switched to custom wasm-builder instead of wasm-pack for examples 1 year ago
Benjamin Hansen 9f2ecaec4a added `view_formats` details to the docs 1 year ago
Benjamin Hansen 7227f8d169 changes for 0.15 1 year ago
matthiascy b3de9fc9d4 fix tutorial8 challenge depth map sampling 1 year ago
Benjamin Hansen 09207e9403 changed State to own window 1 year ago
Benjamin Hansen a9230e981e upgraded dependencies 1 year ago
James0124 c1ebece9c1
Stop using illegal negative values for `wgpu::SamplerDescriptor::lod_min_clamp`.
WebGPU valid usage states `lodMinClamp` must not be negative, and `lodMaxClamp` must be >= `lodMinClamp`
1 year ago
Ben Hansen 3f99b965a9 migrated to 0.14 2 years ago
Eli 29ade9ebb0
Could'nt -> Couldn't 2 years ago
Ben Hansen d24553dec1 fixes #378 2 years ago
Ben Hansen a2a1d69133 migrated to 0.13 2 years ago
Narcha 60b55d6cea Removed redundant quaternion multiplication implementation 2 years ago
sotrh b6f66e0565
Merge pull request #347 from dis-da-moe/master
Typos, references to `main.rs` supposed to be to `lib.rs`, and readability changes
2 years ago
Anthony Mason 6ae2e7e080
Update Cargo.toml
Add the wasm-bindgen-futures dependency.  Without this the wasm-pack build command fails.
2 years ago
disdamoe eca31a5ed5 typo 2 years ago
sotrh d99a4f7d15
Merge pull request #346 from kneasle/indentation-fixes
Fix indentation
2 years ago
Ben Hansen 8a6a422059 fixes #306 2 years ago
Ben Hansen 93712de4e7 fixes #307 2 years ago
Ben Hansen dad9e9d675 fixes #328 2 years ago
Kneasle 964ad9307b Fix indentation
In beginner chapter 9 'Model Loading', the `fn format_url(...)` line was
unnecessarily indented.  This PR also makes some minor reformatting
(presumably caused by changes to `rustfmt`).
2 years ago
Ben Hansen 0a28699d00 web examples working with vuepress 2 years ago
Ben Hansen bd8172d0a2 removed shaderc from gifs 2 years ago
Ben Hansen a9c8bf650f more-testing 2 years ago
Ben Hansen c269f46a0e testing some things 2 years ago
Ben Hansen b8b8444030 fixing some readme files and migrating the lighting code 2 years ago
Ben Hansen 6324e485f1 tutorials 1-9 now work with wasm 2 years ago
Ben Hansen 82d50cba6c finally migrated tutorial9 code 2 years ago
Ben Hansen 9811c4037e troubleshooting wasm failure 2 years ago
Ben Hansen 05767326d9 tutorial 9 working on desktop 2 years ago
Ben Hansen 3492bb703f working on tutorial9 2 years ago
Ben Hansen cbce0a546e experimenting with loader on tutorial9 2 years ago
Ben Hansen 2bb9be1660 tutorials 2-8 now have working web examples 2 years ago
Ben Hansen a6f6a492e7 tutorial1 now has a web example 2 years ago
Ben Hansen 59f0ec16f0 migrated tutorial to use lib.r 2 years ago
sotrh 4b837c08de
Merge pull request #304 from yutannihilation/remove-padding-indices
Remove a padding in INDICES
2 years ago
Hiroaki Yutani 8c6c491b11 Remove padding in INDICES 2 years ago
sotrh 46e8e882d4
Merge pull request #302 from yutannihilation/remove-is-updown-pressed
Remove is_{up,down}_pressed
2 years ago
Hiroaki Yutani 72446bc9ee Remove is_{up,down}_pressed 2 years ago
rhysd 853d44e257 remove unused constant `NUM_INSTANCES` 2 years ago
TonalidadeHidrica 0b9840e1ec Fix typo: w -> we 2 years ago
Ben Hansen c0843b3f92 fixes #285 3 years ago
Ben Hansen 4ae6c3f89f added 0.12.md and examples now compile 3 years ago
Ben Hansen 2073b0fbc1 updated to 0.12 3 years ago
Benoît Vermont 9ba4795d9c
Fix challenge depth buffer challenge
The shader.wgsl contains entry point `vs_main` and `fs_main`, but the rust code would reference them `main` and `main`

It would cause the following crash when trying to run the code:
```
[2021-11-25T14:50:43Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `Render Pipeline`
    error matching VERTEX shader requirements against the pipeline
    unable to find entry point 'main'
```

This fixes it.
3 years ago
Newbyte c189f75913
Fix challenge code for tutorial 3 crashing
Only one of the pipelines were actually adjusted, so let's fix that.
3 years ago
Ferdinand Schäffler a39f95af13 Converted code examples. 3 years ago
Ben Hansen e0e52584a6 fixed pong for 0.11 3 years ago
Ben Hansen 7cc67f5678 migrated to 0.11 3 years ago
Martino Fontana 11b24cebc5 model.rs: added "_bind_group" where appropriate 3 years ago
sotrh 316c429d2f
Merge pull request #228 from VillSnow/patch-1
fix type name Camera to CameraUniform
3 years ago