A shader inspired by Apple's Liquid Glass design language.
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.
Make sure to recursively initialize submodules. Either clone with:
git clone https://github.com/OverShifted/LiquidGlass --recursiveor run
git submodule update --init --recursiveafter cloning normally.
Then you just need to build the CMake project by running ./build.sh, or executing these commands:
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release
cmake --build buildWithout blur or noise, but refracted in the reverse direction:






