Arkit/Scenekit on iOS 14 Throws New Warning (Metal)

Arkit/SceneKit on iOS 14 throws new Warning (Metal)

It's due to a behaviour change in the Metal framework. Warnings in shader code are now logged by default, even for SceneKit's internal shaders. There's nothing wrong with your code.

Does iOS 11.3 update break ARKit/SceneKit SCNMaterial rendering on face node?

iOS 11.3 seems to change the default lightingModel, which is the root cause of all the woes.

Simply setting the materials explicitly to what was previously implicit resolved all pains.

For example,

baseNode.geometry?.materials[0].lightingModel = .blinn


Related Topics



Leave a reply



Submit