Commit Graph

4 Commits

Author SHA1 Message Date
Rezmason
7eab0fd654 Runtime target textures seem to need to be the same format as the canvas current texture. Requires additional investigation.
Created a computeToTexture shader to experiment with writing directly to textures as a means of performing post processing.
2021-11-03 09:03:05 -07:00
Rezmason
35afa7ca01 Pulled the rain render out of the render bundle, I won't likely benefit from it.
Threw together renderToCanvas, which renders a texture to the canvas texture.
2021-11-03 01:19:22 -07:00
Rezmason
8048c9c690 That's funny, you can blob a fetch response and chuck it into createImageBitmap(). 2021-11-02 23:19:54 -07:00
Rezmason
33437a722d Finding ways to construct WebGPU descriptors more concisely. Moving some functions to webgpu's utils.js. 2021-10-30 08:40:42 -07:00