Code Through Coffee

Love2D 12 compute shaders 101: Practical Primer

I've been tracking the development progress for Love 12.0 for a while now (thanks for implementing some of my suggestions btw), codename Bestest Friend. Which is appropriate! Love 12 is going to be absolutely fantastic.

One of the headline features has been - let's say - highly anticipated:

computer

So I put together a small, self-contained example of how to use compute shaders in Love 12 with two different kinds of buffer: turbo/love12-compute

Since this API is less than even unstable, expect this example to be broken depending on when you read this.

Cheers ☕

#gpu #graphics #lang-glsl #lang-lua #love2d