Checkmate50 / wgpu

2 stars 2 forks source link

More compute shader examples #7

Open Pat-Lafon opened 4 years ago

Pat-Lafon commented 4 years ago

The boids example is the best compute shader example that can be leached from wgpu. More examples need to be identified(probably from github) and implemented. I'm going to start a list of possible examples as I find them.

Pat-Lafon commented 4 years ago

Looking through Github for compute shader examples ultimately wasn't that fruitful. The better starting point I'm going to go with is implementing algorithms like fibonacci and matrix computations now that mat4 is an allowed type(and other matrix types could follow). This might prove very useful by providing building block shaders for large matrix computation pipelines. I think this would also be a good way to motivate #9