hello world · I'm Sagar, aka rgbguy
I build graphics from scratch. Then I show you how it works.
Nine years as a graphics engineer at Qualcomm, ShareChat and Metadome. Now I build my own engines, turn equations into art, and explain all of it so you can build it too.
425K+community across platforms
10M+views on YouTube
9 yrsbuilding graphics in industry
2patents filed in AR
// learn
Pick a track. It's free.
Track 01 · 27 lessons
How Games Work
Fog, LODs, PS1 wobble, inverse kinematics, path tracing. The tricks behind the games you play.
Start the track →
Track 02 · 11 lessons
Made with Maths
A stingray, a butterfly, a matka, all drawn with equations. Watch it built, then change the numbers in the live graph.
Start the track →
// my work
Things I've built
Building now
FuzX, a game engine in C++
No Unity, no Unreal. OpenGL and DirectX on Windows, and now running on Android. I'm building it in public, one episode at a time.
Learn how engines work →
CUDA · OpenGL
Path tracing engine
"The Awakening", a ray tracing demo running on the GPU, with CUDA and OpenGL working together.
Learn path tracing →
OpenGL · GLSL
Physically based rendering
PBR materials lit by the environment around them, with image based lighting.
TypeScript · WebGL
WebGL engine
A rendering engine for the web, written in TypeScript on top of WebGL.
Compute · instancing
Boids
A flock simulated in a compute shader and drawn with instancing.
Learn boids →
Shadertoy · GLSL
Ray marching and metaballs
Glass blobs melting into a liquid floor. Signed distance fields, pure code and maths.
OpenGL · GLSL
Tessellation shaders
Subdividing geometry on the GPU, so detail appears where it is needed.
Read the write-up →
OpenGL · C
Spritesheet animations
Sprite-based animation in my own C engine, frame by frame from a sheet.
Industry experience
Nine years shipping graphics. Full story →
Qualcomm2018 - 2022
XR research
Real-time depth compression for cloud VR reprojection. Two patents filed in AR rendering.
ShareChat2022 - 2023
Graphics SDK
Owned Shutter, a cross-platform C++ graphics SDK on OpenGL and Metal behind the camera and video editor.
Metadome2023 - 2024
Web graphics
Rebuilt a WebGL virtual try-on SDK from scratch. 10 FPS became 30+ on low-end phones, 60+ on high-end.