Lens format 3: 3D models, face paint and credits

Format 3 is format 2 with real three-dimensional things in it: models worn on the head, paint on the face's surface, and the credits of whoever made the artwork.

Layer kinds

Everything in format 2 holds unless this page says otherwise. A format 3 package says "formatVersion": 3, and every layer has a kind:

kindassetWhat it is
image (the default)a PNGFormat 2's card.
modela .glbA 3D model worn on the head: lit, shaded, hidden behind the head, following its turn and nod.
painta PNGPaint on the face's surface (make-up, face paint, freckles, a printed mask), laid out on the face mesh. It stretches with the mouth and the brows.

Model layers

Coordinates. A model is in the head's own frame, as glTF has it: metres, y up, the face looking toward +z, the origin between the pupils and the pupils 63 mm apart. That is the head rig's frame in Blender, so anything placed on the rig's head lands on a wearer's head unchanged.

Placement. As a card: the model's origin goes to anchor (default eyeCentre) plus the offset and depth, turned by rotation and tilt, scaled by scale (default 1, as modelled). A model made on the rig keeps the defaults. A model can't be anchored to the screen.

Light. Physically based (glTF's metal-rough), lit by a real studio's light, turned and tinted to the room as the face shows it, with a key light from the side the face is lit from. lighting (default 1) is how far the room's colour and level apply. The skull darkens what is close to it, and a model's own ambient occlusion texture darkens its creases.

Hidden behind the head. occlusion defaults to head: the face and the skull behind it hide whatever goes round the back. none draws the model over everything, like a magnifying glass held in front of the face. person also hides it behind the people in the frame.

Shadow. shadow (default 0.3) is the soft shadow the model casts on the face.

Motion. A model's own animations play from when the layer appears, together, looping unless loop is false. Morph targets named for ARKit's blend shapes (jawOpen, eyeBlinkLeft, eyeBlinkRight, mouthSmileLeft, mouthSmileRight, browInnerUp, browOuterUpLeft, browOuterUpRight) or Fentra's own (mouthOpen, smile, blink, browRaise) follow the face, unless morphs is false. A model's left is the wearer's left.

A model layer can't use facing, frames or fps, or a blend other than normal.

Paint layers

The image is laid out as the face mesh's texture: the UVs of MediaPipe's canonical face model (Apache-2.0), transparent wherever there is no paint. It is drawn on the face as the face moves (the eyes and the inside of the mouth are not part of it), lit as the face is (lighting, default 0.8), and blended over the skin. The new blends softLight and overlay suit make-up. frames, fps and loop animate it as they do a card.

A paint layer can't use scale, offset, rotation, depth, tilt, facing, occlusion, shadow or morphs, or the screen anchor.

New fields

KeyWhereDefaultMeaning
kindlayerimageimage, model or paint.
morphsmodel layertrueDrive the model's morph targets from the face.
blendlayernormalAdds softLight and overlay.
creditslensnoneWho made the artwork (below).

Using any of them in a format 1 or 2 package is the error format_3_field.

What a model file can hold

A .glb (glTF 2.0, binary) with everything inside it. The app reads:

  • triangles, positions, normals, tangents, two UV sets and vertex colours, including quantised attributes (KHR_mesh_quantization) and sparse accessors;
  • the metal-rough material: base colour, metal-rough, normal, occlusion and emissive textures, alphaMode OPAQUE, MASK and BLEND, doubleSided, plus KHR_materials_unlit, KHR_materials_emissive_strength, KHR_texture_transform, KHR_materials_transmission (see-through, without refraction), KHR_materials_ior and KHR_materials_specular;
  • PNG and JPEG images inside the file;
  • a node tree, skins of up to 128 joints, up to 8 morph targets a primitive, and animations of translation, rotation, scale and morph weights.

Refused: images or buffers outside the file, compressed geometry (Draco, meshopt), any other required extension, and points and lines. Cameras and lights are ignored.

Budgets

What a phone draws beside the camera, sixty times a second:

Budget (whole model)At most
vertices120,000
triangles100,000 (the seed library aims at 60,000)
nodes, meshes, primitives512, 128, 256
materials, textures32, 16
a texture's side4096 (over 2048 is a warning)
animations, keyframes16, 20,000
RuleFormat 2Format 3
filesat most 64at most 64
whole packageat most 12 MiBat most 24 MiB
a fileat most 2 MiBat most 2 MiB; a .glb at most 16 MiB
file types.png, .json.png, .json, .glb
model layersnoneat most 4

Credits

"credits": [
  { "title": "Round Spectacles", "author": "Sean Buckley",
    "source": "https://polyhaven.com/a/round_spectacles", "licence": "CC0-1.0" }
]

Each lens can name 1 to 16 works: a title and author (1–80 characters each), an optional https:// source, and a licence:

licenceMeaning
CC0-1.0Creative Commons Zero: public domain.
CC-BY-4.0Creative Commons Attribution: the app shows the credit when the lens is chosen.
originalMade for Fentra by the author.
licensedUsed under an agreement Fentra holds.

A lens with a model must have credits (credits_missing). Licences that forbid commercial use or changes (CC-BY-NC, CC-BY-ND) are not accepted.

Which phones see it

An app reads the formats it was built with and refuses a lens from the future. The catalogue lists a format 3 lens only to an app that says it reads format 3, so publishing one changes nothing for an older app.

Making one

  • Start from a real model. Commissioned work, your own, or a library's under CC0 or CC-BY. Credit it.
  • Fit it on the rig. The Blender add-on adds Fentra's head rig (the app's face, skull and anchors, and a mannequin head to judge fit on) and an export that checks the budgets and writes the .glb the app reads. Fit glasses to the eyes and nose and hats over the skull, leaving room for hair.
  • Check it on a face. Look at it straight on, then turned both ways, nodding and talking.

Validation

As format 2, plus: format_3_field, model_invalid (not a working .glb), model_unsupported (something the app doesn't read), model_over_budget, model_texture_large (a warning), too_many_models and credits_missing.

The five 3D lenses in the seed library are built this way, from models by named artists.

Checked against the specs on 4 November 2026.

NextFilter format