Ben Hansen
0a28699d00
web examples working with vuepress
2022-03-13 17:42:28 -06:00
Ben Hansen
bd8172d0a2
removed shaderc from gifs
2022-02-25 15:44:23 -07:00
Ben Hansen
a9c8bf650f
more-testing
2022-02-19 12:43:56 -07:00
Ben Hansen
c269f46a0e
testing some things
2022-02-19 11:21:54 -07:00
Ben Hansen
b8b8444030
fixing some readme files and migrating the lighting code
2022-02-18 14:22:14 -07:00
Ben Hansen
6324e485f1
tutorials 1-9 now work with wasm
2022-02-18 13:36:21 -07:00
Ben Hansen
82d50cba6c
finally migrated tutorial9 code
2022-02-13 20:19:55 -07:00
Ben Hansen
9811c4037e
troubleshooting wasm failure
2022-02-13 13:31:00 -07:00
Ben Hansen
05767326d9
tutorial 9 working on desktop
2022-02-05 11:00:28 -07:00
Ben Hansen
3492bb703f
working on tutorial9
2022-01-25 19:54:21 -07:00
Ben Hansen
cbce0a546e
experimenting with loader on tutorial9
2022-01-25 19:54:21 -07:00
Ben Hansen
2bb9be1660
tutorials 2-8 now have working web examples
2022-01-25 19:54:21 -07:00
Ben Hansen
a6f6a492e7
tutorial1 now has a web example
2022-01-25 19:52:36 -07:00
Ben Hansen
59f0ec16f0
migrated tutorial to use lib.r
2022-01-25 19:52:33 -07:00
sotrh
4b837c08de
Merge pull request #304 from yutannihilation/remove-padding-indices
...
Remove a padding in INDICES
2022-01-15 15:15:24 -07:00
Hiroaki Yutani
8c6c491b11
Remove padding in INDICES
2022-01-11 22:50:25 +09:00
sotrh
46e8e882d4
Merge pull request #302 from yutannihilation/remove-is-updown-pressed
...
Remove is_{up,down}_pressed
2022-01-10 17:16:58 -07:00
Hiroaki Yutani
72446bc9ee
Remove is_{up,down}_pressed
2022-01-11 07:48:51 +09:00
rhysd
853d44e257
remove unused constant NUM_INSTANCES
2022-01-11 02:59:31 +09:00
TonalidadeHidrica
0b9840e1ec
Fix typo: w -> we
2022-01-04 03:44:01 +09:00
Ben Hansen
c0843b3f92
fixes #285
2021-12-29 11:57:29 -07:00
Ben Hansen
4ae6c3f89f
added 0.12.md and examples now compile
2021-12-27 13:48:52 -07:00
Ben Hansen
2073b0fbc1
updated to 0.12
2021-12-27 12:09:25 -07:00
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.
2021-11-25 15:56:52 +01:00
Newbyte
c189f75913
Fix challenge code for tutorial 3 crashing
...
Only one of the pipelines were actually adjusted, so let's fix that.
2021-11-22 18:46:43 +01:00
Ferdinand Schäffler
a39f95af13
Converted code examples.
2021-10-27 12:58:05 +02:00
Ben Hansen
e0e52584a6
fixed pong for 0.11
2021-10-15 12:05:03 -06:00
Ben Hansen
7cc67f5678
migrated to 0.11
2021-10-08 18:40:29 -06:00
Martino Fontana
11b24cebc5
model.rs: added "_bind_group" where appropriate
2021-09-25 21:52:42 +02:00
sotrh
316c429d2f
Merge pull request #228 from VillSnow/patch-1
...
fix type name Camera to CameraUniform
2021-09-12 11:35:44 -06:00
Ben Hansen
fd589adbe1
finished code migration
2021-09-11 15:14:31 -06:00
Ben Hansen
7c90669f89
migrated beginner tutorials
2021-09-11 11:11:30 -06:00
Ben Hansen
c0754f9dd3
migrated tutorial5
2021-09-11 10:37:05 -06:00
Ben Hansen
57d7eb763f
migrated tutorial4
2021-09-11 10:19:15 -06:00
Ben Hansen
0f618a2ff8
migrated tutorial3
2021-09-11 10:10:18 -06:00
Ben Hansen
b322b8f6b8
reworked swapchain tutorial to use surface
2021-09-11 09:34:13 -06:00
VillSnow
d13ba88020
fix type name Camera to CameraUniform
2021-09-09 18:46:43 +09:00
Ben Hansen
30c5693fb9
no more validation errors
2021-09-07 17:17:08 -06:00
Ben Hansen
2c3e2be256
changing getting surface texture to use intermediate variable
2021-09-04 17:42:09 -06:00
Ben Hansen
d47d986542
testing on master
2021-08-28 16:40:52 -06:00
Ben Hansen
822f2d6191
started 0.10
2021-08-28 16:11:33 -06:00
Martino Fontana
372082ae90
Rename "Uniform" to "Camera" in labels too
2021-08-27 00:07:50 +02:00
Martino Fontana
b2b77294f6
Change "uniform" naming to "camera"
2021-08-26 21:09:51 +02:00
Ben Hansen
70bf012641
fixed tangent/bitangent comp and cargo fmt
2021-08-15 10:44:57 -06:00
Rokonio
62a9c476f0
Add a forgoten semicolon
2021-08-10 21:54:47 +02:00
sotrh
1030f47529
Merge pull request #212 from rokonio/master
...
Fixing #200
2021-08-09 16:20:36 -06:00
Rokonio
7fb76b4e0e
Fixing #200
2021-08-09 00:46:47 +02:00
Rokonio
2e6e413d73
Fixing #200
2021-08-09 00:45:59 +02:00
Rokonio
33163b5592
Fixing #200
2021-08-09 00:42:07 +02:00
Rokonio
543ffe58f2
Fixing #200
2021-08-09 00:40:54 +02:00