A game in a texture. Pebble Devlog #1 - Compute Shader Game

Опубликовано: 14 Март 2026
на канале: John Turner
1,515
83

A discussion of my work in progress game, Pebble, and how it's written. It's a 2D Falling Sand Cellular Automaton implemented in a compute shader. The vast majority of this project is written in HLSL, but a few core components are in a C# script.

Sprite: https://pixramen.itch.io/2d-action-pl...

Compute Shaders:
https://docs.unity3d.com/Manual/class...
https://docs.microsoft.com/en-us/wind...

Falling Sand Resources:
MARF    • How To Code a Falling Sand Simulation (lik...  
Noita Dev    • Exploring the Tech and Design of Noita  



Chapters:
0:00 Introduction
1:00 Compute Shader Overview
2:03 Cell Material Texture
3:35 Reset and Mouse Input Kernels
4:23 Cell Movement Kernels
9:14 Character Kernels
13:19 C# Script
14:13 Limitations and Final Thoughts