site banner

Tinker Tuesday for July 7th, 2026

This thread is for anyone working on personal projects to share their progress, and hold themselves somewhat accountable to a group of peers.

Post your project, your progress from last week, and what you hope to accomplish this week.

If you want to be pinged with a reminder asking about your project, let me know, and I'll harass you each week until you cancel the service.

1
Jump in the discussion.

No email address required.

Didn't get a lot of work done this week. I mostly fell into the optimization rabbit hole after I noticed that the bespoke background texture copy system, that I set up to enable infinite scrolling, does get a bit choppy in terms of performance.

Splitting the background into more textures of a smaller size should speed it up enough, and another option I put in the backlog is to lower the color depth by packing the texture into 16 bits instead of 32 (less data, less time necessary to copy it between the GPU and CPU, which was the bottleneck). I don't want to spend too much time on that as the original Alien Phobia games had a screen-sized arena, with no scrolling, and that's what I'm reproducing as a first step.

I did learn something interesting though. It turns out when you read back data from the GPU you have to wait for all scheduled work to finish, so if you do so after you dispatch the compute shaders, instead of before, you incur a penalty. In the end I could shave off an entire millisecond of each physics frame just by changing where the GPU reads are called from.

How have you been doing @Southkraut?