← All models · Sapiens normals

Practical · relighting

Relighting studio

This is what normals are FOR. Estimate the normal field once, then move a virtual light: each pixel's brightness is just the angle between its surface normal and the light (N·L). The relight is instant because it reuses the cached normals — no re-running the model. It's the on-device core of AR relighting and portrait studio lighting.

~444 MB model, CPU path: the one-time estimate takes ~60–90 s in WebAssembly. After that, dragging the light is real-time.

Estimate, then light it

Public-domain studio portrait Sample face portrait Another sample face

Relit surface

Light control

Drag the dot (or arrow-key it) to move the light. The centre is a head-on light; the edges rake across the surface.

Why this is only possible with normals

Shading is the dot product of the surface normal and the light direction. Without a normal per pixel you'd have to guess how each part of the face is angled; with Sapiens' prediction you get it directly, so a flat photo can be re-lit as if you moved a real lamp. Depth can't do this on its own — distance doesn't tell you orientation.