GitPedia

LiquidGlass

OpenGL liquid glass shader

From OverShifted·Updated June 27, 2026·View on GitHub·

A shader inspired by Apple's [Liquid Glass](https://en.wikipedia.org/wiki/Liquid_Glass) design language. The project is written primarily in C++, distributed under the MIT License license, first published in 2025. Key topics include: liquid-glass, liquid-glass-effect, opengl, refraction, shader.

Liquid glass

A shader inspired by Apple's Liquid Glass design language.

Uploading liquid-glass-newspaper.mp4…

It renders a squircle with a shader that approximates a signed distance field to
emulate refraction. With some blur, noise and a bit of glow, it ends up looking
somewhat like glass.

Screenshots

Seasons:

springsummer
autumnwinter

Full effect:
Full effect

Without blur or noise:
Just refraction

Without blur or noise, but refracted in the reverse direction:
Just refraction, but inverted

Building

Make sure to recursively initialize submodules. Either clone with:

sh
git clone https://github.com/OverShifted/LiquidGlass --recursive

or run

sh
git submodule update --init --recursive

after cloning normally.

Then you just need to build the CMake project by running ./build.sh, or executing these commands:

sh
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release cmake --build build

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from OverShifted/LiquidGlass via the GitHub API.Last fetched: 6/27/2026