Skip to guide
Rainbow Lab/Documentation

Glass Foundry

Optional playground

For a landscape with adjustable glass controls, use Tools > Foundry > Glass Foundry > Samples > Rebuild playground to create the optional playground. Once created, Open playground opens Samples/Scenes/Glass Playground.unity. Glass previews in the Game view as you change its Inspector settings. Press Play to use the controls and animated props. The gallery and Glass over UI scenes are already included; generating the playground is optional.

All samples use your project's selected URP pipeline, including its current Quality override and camera renderer selection. Opening a sample adds or enables the Glass Renderer Feature on the renderer used by its camera; it never replaces your Graphics or Quality pipeline. Glass Source > Preview In Edit Mode controls the preview. If the selected pipeline is unsupported or missing, use the camera setup window to check it. A retained background capture keeps glass visible through Play mode transitions; this Editor-only copy is not saved into scenes or included in builds.

Move the large panel by its top strip. Trees, a cabin, a pond and moving props provide a background with edges and colours to test against. The smaller cards show four appearances. Use their buttons to try a finish on the large panel.

The left controls change the large panel's appearance. Clarity blends from soft blur to a clear capture. Blur steps, Capture rate and Resolution affect the shared camera capture, so every panel uses the same background blur. Show glass hides the large glass background but leaves its labels visible for comparison. Animate props pauses the moving objects. Freeze capture keeps the last blurred image while the scene continues moving. Refresh capture takes one new capture, including while frozen.