Universal Photometric Stereo (SDM-UniPS)
A neural network that predicts high-resolution surface normals from multi-light photos with unknown, arbitrary illumination and no object mask, including highly specular materials.
Also known as SDM-UniPS, UniPS
In the family Capture, reconstruction & splatting, shape from shading
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | Not applicable | Offline reconstruction/generative method, not an engine feature. |
| Unity | None found | |
| Unreal 5.7 | None found | External neural photometric stereo model; not built into Unreal Engine. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Instead of calibrating light directions, the network encodes global lighting context across all input images with a transformer-style aggregation, so each pixel can reason about illumination implicitly. A scale-invariant spatial-and-directional design lets it process high-resolution images by working on sampled patches and recombining them, which keeps fine detail without a mask. Training uses synthetic renders with diverse shapes, SVBRDFs and lighting including near and environment lights. At inference you feed N images taken with fixed camera and varying lighting and obtain a normal map. It trades the physical guarantees of classic least squares for robustness to unknown light and complex materials.
When to choose it
Reach for it when
- don't know my light positions for multi-light capture
- glossy objects break normal recovery from photos
- lighting is mixed or from the environment
- need high-res normals without a mask or calibration
- classic normal estimation fails on shiny material
Choose it when lighting is unknown, mixed or environment-based, or the material is glossy and classic Photometric Stereo fails. Prefer Photometric Stereo when you control calibrated lights and want a transparent, reproducible solve. Run Bilateral Normal Integration afterwards if you need a height field.
Field marks
- Out-of-distribution materials or lighting can yield plausible but wrong normals without any uncertainty signal
- Image sets with too little lighting variation leave normals ambiguous (bas-relief style ambiguity)
- Needs a very still camera and object; any motion corrupts the per-pixel observations
- Training-data licence and weights restrictions apply, check the repo
Lineage
Crosses
- Drawings to relief via generated relighting: Turn one drawing into a sharp-edged relief mesh. An image model repaints the same drawing under several lights, photometric stereo that needs no light calibration recovers normals, and discontinuity-aware integration keeps silhouettes as cliffs.
Sources
- primarySatoshi Ikehata (2023). Scalable, Detailed and Mask-Free Universal Photometric Stereo. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).Verified via crossref · 2026-11-29doi:10.1109/cvpr52729.2023.01268
- primarySatoshi Ikehata (2023). Scalable, Detailed and Mask-Free Universal Photometric Stereo. arXiv preprint (cs.CV).Verified via arxiv · 2026-11-29arXiv:2303.15724
- implementationsatoshi-ikehata (2023). satoshi-ikehata/SDM-UniPS-CVPR2023. Official pytorch repository for Scalable, Detailed and Mask-free Universal Photometric Stereo (CVPR2023)GitHub API · license NOASSERTION · 2026-11-29