Draw a pixel from compute shader
I’m learning about compute shaders recently for a new game I’m going to finish to optimise some an important VFX
It’s pretty fun and challenging to get into something new, I like it.
Today I’ve managed to draw a single red pixel on a texture in a desired position. Very glad!

CPU based vs Compute Shader based algo
GPU just ate that and didn’t even notice


Being limited by CPUs most of the time feels going through 100s of items in a loop feel weird 😄
Yeah! Big progress on using compute shaders! I wanna make those things be painted procedurally and efficiently and more complex
Drawing circles now

Making things prettier

Added support for colors

Implemented color mixing. Not sure if I want to keep it

Added a chance to create a child splat and it improved the visuals quite a bit

Trying to understand how to make the shape more irregular now
I’ve found a solution yay
Had to remake the algo from going in the grid line-by-line of pixel to using polar coordinate solution to draw a circle.
More risky to miss a pixel, but works good enough for this case

Filled them now

Finally improved the behavior a bit and replaced the old particle based splats in my game with the new compute shader based ones. Really exciting!