Building now

FuzX

My game engine in C++. OpenGL and DirectX on Windows, and now running on Android. No Unity, no Unreal. I'm building it in public, one episode at a time.

  1. EP 1I'm building a game engine from scratch
  2. EP 2How GPUs turn math into pixels
  3. EP 3Scene graph, components, assets
  4. EP 4Running on Android
C++OpenGLDirectXAndroid
On the GPU

Path tracing engine

"The Awakening", a ray tracing demo running on the GPU, with CUDA and OpenGL working together.

CUDAOpenGL
In the browser

WebGL engine

A rendering engine for the web, written in TypeScript on top of WebGL.

WebGLTypeScriptGLSL

Deep dives written while I build, from first principles.

All posts →

Shader and rendering experiments. Click any one to play it here.

The Jungle Book

A 7 minute demo about Mowgli and Raksha, the wolf mother who raised him. Fixed-function OpenGL and Win32.

OpenGLC++

Nindiya

A delivery boy's journey through modern India. A team demo with the Shader Group, in WebGL and GLSL ES.

WebGLGLSL

Physically based rendering

PBR materials lit by the environment around them, with image based lighting.

OpenGLGLSL

Boids

A flock simulated in a compute shader and drawn with instancing.

ComputeInstancing

Ray marching and metaballs

Glass blobs melting into a liquid floor. Signed distance fields, pure code and maths.

ShadertoyGLSL

Tessellation shaders

Subdividing geometry on the GPU.

OpenGL

Batched grass

Batched rendering of grass blades.

OpenGLC

Spline editor

A spline editor inside my 3D engine.

OpenGLC

Spritesheet animations

Sprite-based animation in my C engine.

OpenGLC

Free and in your browser. I built them because I needed them.