Skip to guide
Rainbow Lab/Documentation

Glass Foundry

Liquid glass

Apply Liquid glass from the library, or try the first panel in the studio. Clarity stays with the common appearance controls. Expand Appearance > Advanced for the lens and lighting controls:

  • Clarity: blend between the camera blur and a clear half-resolution capture. Zero keeps the original frosted finish; one gives sharper detail for refraction.
  • Lens width: a percentage from 0 to 100. At 100, the curved surface extends from the outline to the centre, independent of the image size. Smaller values confine it to the outer part of the image. Zero keeps the original narrow edge.
  • Magnification: enlarge the background around the panel's centre.
  • Dispersion: split the red and blue samples slightly along the refracted edge. Keep it low for a subtle fringe.
  • Sheen: soft directional highlights confined to the perimeter, leaving the middle of the glass clear. This is an artistic light response, not a reflection of scene lights.

Refraction controls the displacement in screen pixels. Use it with Lens width to choose between a thin edge and a thicker lens. For a circular lens, use a square RectTransform and set Corner radius to half its size. The normal changes smoothly across rounded rectangles and circles, including rotated panels.

These settings bend the captured background; they do not animate or merge panel shapes. Enable Include Background UI on Glass Source to include earlier Overlay text and images, as described below.