
SwiftUI Metal shader
Glass Message
A blown-glass message bubble filling with blue and green beads. Drag to turn it, click to add one.
SwiftUIReact NativeWeb
How it works
Glass Message is a real [[stitchable]] Metal shader, not a video or an image. It runs as a SwiftUI .layerEffect, so it reads and reshapes the whole layer of the view it is attached to. You shape it with sliders in a live preview, then export the .metal file and the SwiftUI code that uses it, or the React Native and Web version. No MSL to write.
27 settings you can tune
- Icon
- Glass style
- Count
- Packing
- Seed
- Glass
- Beads
- Beads 2
- Beads 3
- Badge
- Badge tint
- Roughness
- Refraction
- Clearcoat
- Coat blur
- Specular
- Studio
- Transmission
- Thickness
- Iridescence
- Film index
- Tint
- Tint depth
- Flutes
- Float
- Tilt X
- Tilt Y







