日本語

Liquid Glass Generator

Recreate Apple's Liquid Glass with WebGL. Tune refraction, chromatic aberration, and frosted blur, then export copy-paste code.

Drag on the preview to move the glass

Generated code

※ Replace the background URL with your own image. It's a self-contained snippet that loads the lightweight ogl library from a CDN.

The Liquid Glass Generator recreates Apple's Liquid Glass with real refraction rendered in WebGL — not just a CSS blur — and exports copy-paste code. Place a glass button or card over a background image and tune refraction, chromatic aberration, frosted blur, and specular with sliders. Free, no signup, no watermark.

What is Liquid Glass?

Liquid Glass is the translucent glass material Apple introduced in 2025 across iOS 26, macOS Tahoe, and more. It refracts the background like a lens, adds a specular highlight and subtle chromatic aberration along the edge, and applies a frosted blur.

WebGL vs. CSS liquid glass

Most liquid glass generators use a CSS approach with backdrop-filter and SVG filters. It's convenient, but it cannot truly refract the background — you get a flat frosted panel with a highlight. This tool re-samples the background pixels with WebGL (GLSL shaders), so the edge lens distortion and chromatic aberration look closer to the real material.

AspectCSS approach (typical tools)WebGL approach (this tool)
Background refractionNo (flat blur only)Yes (lens-like distortion)
Chromatic aberrationFakedReal RGB shift
Follows page backgroundYesBakes the background image
OutputCSS / HTMLSelf-contained WebGL snippet

How to use it (3 steps)

  1. Pick a shape (button / card / pill / circle) and a background image.
  2. Adjust refraction, blur, specular, chromatic aberration, and tint, and add button text if you want.
  3. Click "Copy code" to get a self-contained WebGL snippet, then replace the background URL with your own image.

Great for

How it works & caveats

Frequently asked questions

Is this Liquid Glass generator free?

Yes. It's completely free, with no signup and no watermark. The generated code is yours to use commercially.

How is this different from CSS liquid glass generators?

Most tools use backdrop-filter and SVG filters, which cannot truly refract the background. This tool re-samples the background pixels with WebGL (GLSL shaders), so you get real lens-like refraction and edge chromatic aberration that look closer to the real material.

Does the effect follow the page background?

No. The exported code bakes the background image into the canvas, so it does not follow arbitrary page content behind it. It's best for spots where the background image is fixed, such as heroes and cards.

Which browsers are supported?

Refraction and chromatic aberration render in WebGL-capable browsers such as Chrome, Safari, and Edge.

Can I use the generated code commercially?

Yes. The generated code is yours. Just replace the background image URL with an image you have the rights to use.

What is Apple's Liquid Glass?

It's the translucent glass material Apple introduced in 2025 across iOS 26, macOS Tahoe, and more. It refracts the background, adds a specular highlight and chromatic aberration along the edge, and applies a frosted blur.