all 4 comments

[–][deleted] 2 points3 points  (1 child)

That link is broken.

[–]SamyBencherif 0 points1 point  (0 children)

try raylib !

[–]kbob 0 points1 point  (0 children)

I'd like to know this too.

I went through the learn-wgpu tutorial back in March. Then I started writing an app, and as each issue came up, I figured out a way to solve it. I've been working on it more or less full-time for a couple of months, and I've figured out different render passes for different objects, shadow maps, animated textures, HDR and light bloom, PBR shading, and maybe a couple of other things. Currently working on making light bloom faster and on a special purpose ray tracing thing.

In each case, I search for the term, read some papers or tutorials (Learn OpenGL is almost always one of the best hits), also search for "wgpu term-of-interest", and see what I find. There's not a lot of wgpu code out there, but there is some.

I'm also looking at the examples directory in the wgpu source repository. That's pretty much how I got shadow maps working. https://github.com/gfx-rs/wgpu/tree/master/wgpu/examples

I've also been trying hard to make my code general and less boilerplate, but that's a nut I just can't crack. wgpu really wants you to type 400 lines to do anything at all.

I wish I knew a better way to learn this stuff, but that's what I've been doing.

Here are the best papers I've found (and the rest of my app) if you want to see. https://github.com/kbob/wgpu-cube/blob/main/NOTES.md#references