ARKit generates environment textures only for probe anchors you explicitly add to the session.
- iOS 12.0+
When you use this
environment option, you must manually choose when and where to generate environment map textures:
AREnvironmentobject with a
transformindicating its position in the scene.
Add the probe anchor to the session with the
If you display AR content using
ARSCNView, SceneKit automatically retrieves texture maps from probe anchors and uses them to light the scene. Otherwise, use a delegate method such as
session: to find out when the probe anchor's texture has been updated and access the