Articles & experiments /Personal experiment / material & interaction

Inside the iris.

We wanted the glass iris to feel like glass while you opened it, moved the light and changed the finish. That meant turning an appearance study into moving geometry and live shaders.

01 / The experience

An opening, then a focus.

Nine blades open onto a landscape. Scroll to bring its contour and bright probe into focus, then scroll back to close the iris. A tap closes the shutter and changes the scene.

Native glass iris framing the central illuminated terrain

The homepage puts it together.

The homepage brings blade motion, focus and landscape together. The workbench below takes them apart. A fixed pattern behind the glass makes changes to light, finish and lensing easier to see.

Try the homepage feature

A frame from the live renderer. We’re still refining the material match and phone performance.

02 / Take the material apart

A material you
can move.

Open the iris, move the light, change the finish. Follow the walkthrough or find your own treatment.

Generated glass iris appearance reference
SELECT A STEP
Under the surface / 6 steps

How the iris is made.

Take it apart, one effect at a time. Each step updates the same live iris.

Start with the shape.

Six controlled comparisons: shape, layered transmission, light, finish, lensing and rim colour.

Choose a step. The iris and comparison buttons stay in view while you explore the controls.

Brass is a material variation below. The homepage crop and pupil focus are part of the homepage composition ↗. The camera and stacking remain constrained approximations. References & limits ↗ · Mix colours ↓ · Try the homepage focus ↗

Shape & material

Mix glass & rim colour.

Body colour carries through the glass. Rim colour adds a separate accent along its edge; tint amount controls its contribution.

The rim accent follows each blade in streaks. Edge colour split controls optical fringing separately.

Fine-tune shape, finish & optics

Compare each finish in the same light, then inspect one blade or its underlap.

The live material loads when it comes into view.

The rendered material templates and settings. Includes lighting and capture requirements.

Source becomes available after the first rendered frame.

A study in progress. Fine grain changes the surface response; geometry, reflections and refraction stay in the renderer. The receiver patterns isolate lensing and colour splitting. The terrain and scroll-driven focus live on the homepage. Follow the texture method ↓

03 / A reproducible material decision

Keep the grain.
Leave the lighting.

The texture image brought its own lighting. We needed to keep its fine grain without painting that light onto every moving blade.

  1. Small clean interior crop from the selected glass reference
    01 / Inspect a clean crop

    Start inside the glass, away from the blade edge and pupil. We want its surface character, not its outline.

  2. Generated texture field containing fine grain and unwanted broad lighting
    02 / Expand the texture

    Expanding the crop gives us grain but also unwanted lighting. Pasting its color onto the blade would bake those reflections in place.

  3. Derived grey scalar texture with broad lighting removed
    03 / Derive a bounded field

    Remove the broad light and restrain the fine contrast. Use what remains for roughness and micro-bump, attached to the blade so it moves with the glass.

FLUX3 image klein / pinned revision 8454017 / seed 2384 / 16 steps. The field is an authored material input, not calibrated PBR or a seamless tile.

04 / The useful boundary

Control the setup.
Keep the choices visible.

A fixed front camera and a known surface behind the glass make this manageable in the browser. They also set the limits of the optics.

What carries across

One blade shape, fixed pivots and stable texture coordinates keep the moving form together. Roughness, thickness, light and color stay adjustable. Export the configuration and shader to keep the treatment you made.

Where the approximation ends

We draw glass in ordered captures. That does not solve reciprocal reflections, a manufactured cyclic blade stack or physical caustics. The generated target shows the appearance we wanted; the live render shows how far this implementation gets.

Keeping the optical setup known lets us make the controls responsive. Geometry, texture, light and interaction stay separate while we work, then we judge them together on the page.