Commit Graph

99 Commits (8bb1b080b46b68ec9f25b9a27a4f9252041495f0)

Author SHA1 Message Date
Benjamin Hansen 8bb1b080b4 fixed up to model loading for wasm 5 months ago
Benjamin Hansen 202012b76d switch to `Backends::PRIMARY` 6 months ago
Benjamin Hansen 3e618336bd not crashing 6 months ago
Benjamin Hansen 6325590051 got pong working natively 7 months ago
Benjamin Hansen 4daff65c34 more cleanup 7 months ago
Benjamin Hansen 7c290e7436 cleaning up and fixing snow 7 months ago
Benjamin Hansen 12f115dfa1 code is working again 7 months ago
Benjamin Hansen 653a9928b3 0.18 and hdr tutorial 11 months ago
Benjamin Hansen b76dfa4a44 fixes #478 1 year ago
Benjamin Hansen 8b8e844b76 update to 0.16 1 year ago
Will Crichton 9e2ada2a0f Simplify `.filter(..).next()` to `.find()`. Eliminate unnecessary lifetime parameter in `Vertex::desc` 2 years ago
Benjamin Hansen 9f2ecaec4a added `view_formats` details to the docs 2 years ago
Benjamin Hansen 7227f8d169 changes for 0.15 2 years ago
matthiascy b3de9fc9d4 fix tutorial8 challenge depth map sampling 2 years ago
Benjamin Hansen 09207e9403 changed State to own window 2 years 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`
2 years ago
Ben Hansen 3f99b965a9 migrated to 0.14 2 years ago
Ben Hansen d24553dec1 fixes #378 2 years ago
Ben Hansen a2a1d69133 migrated to 0.13 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
Ben Hansen b8b8444030 fixing some readme files and migrating the lighting code 3 years ago
Ben Hansen 6324e485f1 tutorials 1-9 now work with wasm 3 years ago
Ben Hansen 05767326d9 tutorial 9 working on desktop 3 years ago
Ben Hansen 2bb9be1660 tutorials 2-8 now have working web examples 3 years ago
Ben Hansen 59f0ec16f0 migrated tutorial to use lib.r 3 years ago
sotrh 4b837c08de
Merge pull request #304 from yutannihilation/remove-padding-indices
Remove a padding in INDICES
3 years ago
Hiroaki Yutani 8c6c491b11 Remove padding in INDICES 3 years ago
sotrh 46e8e882d4
Merge pull request #302 from yutannihilation/remove-is-updown-pressed
Remove is_{up,down}_pressed
3 years ago
Hiroaki Yutani 72446bc9ee Remove is_{up,down}_pressed 3 years ago
rhysd 853d44e257 remove unused constant `NUM_INSTANCES` 3 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
Ferdinand Schäffler a39f95af13 Converted code examples. 3 years ago
Ben Hansen 7cc67f5678 migrated to 0.11 3 years ago
Ben Hansen fd589adbe1 finished code migration 3 years ago
Ben Hansen 7c90669f89 migrated beginner tutorials 3 years ago
Ben Hansen c0754f9dd3 migrated tutorial5 3 years ago
Ben Hansen 57d7eb763f migrated tutorial4 3 years ago
Ben Hansen 0f618a2ff8 migrated tutorial3 3 years ago
Ben Hansen b322b8f6b8 reworked swapchain tutorial to use surface 3 years ago
Ben Hansen 822f2d6191 started 0.10 3 years ago
Martino Fontana 372082ae90 Rename "Uniform" to "Camera" in labels too 3 years ago
Martino Fontana b2b77294f6 Change "uniform" naming to "camera" 3 years ago
Ben Hansen 70bf012641 fixed tangent/bitangent comp and cargo fmt 3 years ago
Rokonio 62a9c476f0
Add a forgoten semicolon 3 years ago
sotrh 1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
3 years ago