Ben Hansen
Ben Hansen
I'm pretty sure that you can't use `.await` in the `run` funciton as it's not `async`. We technically only need to `async` block to get the `Adapter` , `Device` and...
I'm going to have to circle back to this. I'm working on updating to 0.19 and they changed `Surface` to use the lifetime of the window. I tried use `OnceCell`,...
Looks good. I've been considering having some "guest articles" with topics I'd like to cover, but haven't had the time to write up.
These are too examples that I've been meaning to do. Especially shadow mapping. I might tackle them during the holidays.
Reading [the spec](https://gpuweb.github.io/gpuweb/#enumdef-gpupowerpreference), it seems like these options only really matter if you have more than one GPU, such as in the case of laptops with a discrete GPU in...
What formula would you recommend?
I've updated the tutorial in a recent commit
I'm considering removing `OPENGL_TO_WGPU_MATRIX` entirely. I've already removed it in the HDR tutorial as it messes with the math for drawing the skybox.
I believe it's meant to move the projection forward and scale it in the z by 2. Opengl has the z buffer between -1 and 1 while wgpu has it...
Looking at the [spec](https://www.w3.org/TR/webgpu/#gpucanvasalphamode) it seems to be related to outputting the final image to the surface (HTMLCanvas in particular). Feel free to create a PR