Skip to content
All experiments

OSAV LAB · NOT CLIENT WORK

Light Through Glass

SPATIAL UI · 2026 · CONCEPT

How it's made

A shader study: a glass diamond bending the grid of light behind it.

  1. 01A single fragment shader: the diamond is a signed distance field and its gradient bends the lookup behind it.
  2. 02Runs on capable GPUs only; other devices get a static version of the same idea.
  3. 03No textures, no libraries: raw WebGL2.

Stack

  • WEBGL2
  • GLSL