HaoDong
HaoDong

Reputation: 349

Display a 3D map image in sceneView

I try to set a 3D map picture to the background of the sceneView in SceneKit Editor View. The result is here enter image description here

but when I run into the simulator. enter image description here

And I got many errors like this: [SceneKit] Error: C3DLightingModelPhysicallyBased not supported by OpenGL renderer

Upvotes: 1

Views: 343

Answers (1)

mnuages
mnuages

Reputation: 13462

The simulator only supports OpenGL, but spherical maps are only available when SceneKit runs on Metal.

You should get the correct behaviour on an iPhone 6s. Just make sure that you haven't specifically requested the OpenGL renderer (in Interface Builder for instance).

Upvotes: 3

Related Questions