#### <sup>[Ollin](../../../index.md) → [Examples](../../index.md) → [3D](../index.md) → Materials</sup>

---

## Materials

| [![BrushedMetal](https://media.ollin.art/examples/3D/Materials/BrushedMetal/still-640.jpg?v=819826df)](brushedmetal.md) | [![CoatAndCloth](https://media.ollin.art/examples/3D/Materials/CoatAndCloth/still-640.jpg?v=9dc6bd1e)](coatandcloth.md) | [![Decals](https://media.ollin.art/examples/3D/Materials/Decals/still-640.jpg?v=f04fed92)](decals.md) | [![Detail](https://media.ollin.art/examples/3D/Materials/Detail/still-640.jpg?v=013fca2f)](detail.md) |
|---|---|---|---|
| [BrushedMetal](brushedmetal.md) | [CoatAndCloth](coatandcloth.md) | [Decals](decals.md) | [Detail](detail.md) |
| [![Explorer](https://media.ollin.art/examples/3D/Materials/Explorer/still-640.jpg?v=1eb85080)](explorer.md) | [![Glass](https://media.ollin.art/examples/3D/Materials/Glass/still-640.jpg?v=155ce580)](glass.md) | [![Inked](https://media.ollin.art/examples/3D/Materials/Inked/still-640.jpg?v=f376a7db)](inked.md) | [![LiveSurface](https://media.ollin.art/examples/3D/Materials/LiveSurface/still-640.jpg?v=784066fa)](livesurface.md) |
| [Explorer](explorer.md) | [Glass](glass.md) | [Inked](inked.md) | [LiveSurface](livesurface.md) |
| [![Matcap](https://media.ollin.art/examples/3D/Materials/Matcap/still-640.jpg?v=907c3afc)](matcap.md) | [![Materials](https://media.ollin.art/examples/3D/Materials/Materials/still-640.jpg?v=136060de)](materials.md) | [![NormalMaps](https://media.ollin.art/examples/3D/Materials/NormalMaps/still-640.jpg?v=d852fdd3)](normalmaps.md) | [![Parallax](https://media.ollin.art/examples/3D/Materials/Parallax/still-640.jpg?v=cc9d1a39)](parallax.md) |
| [Matcap](matcap.md) | [Materials](materials.md) | [NormalMaps](normalmaps.md) | [Parallax](parallax.md) |
| [![PhysicalMaterials](https://media.ollin.art/examples/3D/Materials/PhysicalMaterials/still-640.jpg?v=efde6f57)](physicalmaterials.md) | [![SeeThrough](https://media.ollin.art/examples/3D/Materials/SeeThrough/still-640.jpg?v=ce8834c6)](seethrough.md) | [![Subsurface](https://media.ollin.art/examples/3D/Materials/Subsurface/still-640.jpg?v=4875baea)](subsurface.md) | [![SurfaceMaps](https://media.ollin.art/examples/3D/Materials/SurfaceMaps/still-640.jpg?v=77317ef9)](surfacemaps.md) |
| [PhysicalMaterials](physicalmaterials.md) | [SeeThrough](seethrough.md) | [Subsurface](subsurface.md) | [SurfaceMaps](surfacemaps.md) |
| [![ThinFilm](https://media.ollin.art/examples/3D/Materials/ThinFilm/still-640.jpg?v=e9f731f4)](thinfilm.md) | [![Triplanar](https://media.ollin.art/examples/3D/Materials/Triplanar/still-640.jpg?v=800a89ba)](triplanar.md) |  |  |
| [ThinFilm](thinfilm.md) | [Triplanar](triplanar.md) |  |  |

This group covers what surfaces are made of: stylized finishes, physically based metal, glass, subsurface, thin film, and the map set that varies any of them per pixel.

| Sketch | What it shows |
| --- | --- |
| [Materials](materials.md) | The material library. One orbiting sphere grid shows each built-in `Material` (`.iridescent`/`.soapBubble`/`.velvet`/`.jade`/`.toon`/`.gooch`/…), and the view-angle finishes shift as it turns. |
| [Inked](inked.md) | The cartoon look: toon solids with an ink line around every shape (`outline(width:color:)`), under a three-point rig that follows the camera (`relativeTo(.camera)`), a world sun, or a `headlight()`, switched by a parameter. |
| [PhysicalMaterials](physicalmaterials.md) | The physically-based finish as a metallic × roughness sweep. `Material.physicallyBased` shades one sphere grid from tight mirror highlights to matte, and from dielectric to metal. |
| [Matcap](matcap.md) | Matcaps. A whole surface-and-lighting look is baked into one sphere texture and sampled by the view normal (`matcap(_:)`). That gives chrome, clay, wax, or a cel look with no scene lights at all. |
| [Explorer](explorer.md) | The material explorer. Every finish is shown on one shape, with its parameters to adjust. |
| [SurfaceMaps](surfacemaps.md) | The rest of the surface-map set: metallic-roughness, occlusion, and emissive maps, each varying a finish per pixel. |
| [NormalMaps](normalmaps.md) | Normal maps: per-pixel surface relief without per-pixel geometry. |
| [Detail](detail.md) | Detail maps: texture that stays sharp under a close look. |
| [Parallax](parallax.md) | A photographed stone wall read two ways: parallax occlusion and real displacement. |
| [Triplanar](triplanar.md) | Talavera tilework on meshes with no uvs at all, projected from three directions. |
| [Decals](decals.md) | Pictures stamped onto the scene, projected rather than mapped. |
| [Glass](glass.md) | Physically-based transmission and refraction. |
| [SeeThrough](seethrough.md) | The scene showing through glass, with no ray tracing. |
| [LiveSurface](livesurface.md) | The camera frame wraps a globe and lights it, so a live feed serves as a surface. |
| [CoatAndCloth](coatandcloth.md) | Clearcoat and sheen, the two layered finishes on the physically-based material. |
| [Subsurface](subsurface.md) | Light that travels under the surface before it comes back out. |
| [BrushedMetal](brushedmetal.md) | Anisotropic specular: brushed, turned, and satin finishes whose highlight is a streak instead of a dot. |
| [ThinFilm](thinfilm.md) | Thin-film interference two ways: a series of nm thicknesses on a physically-based surface, and animated soap bubbles on thin glass. |

Run one with `swift run Example-3D-Materials-<Name>`, for example `swift run Example-3D-Materials-Materials`.
