Just wondering about a couple of thing in regards to SCN inside ARKit environment.
I am testing Procedural Sky with ARKit, seems like it does not actually work. I was hoping to get some kind of realtime sunlight affecting the 3D model to cast shadow that is more or less automatic based on light condition.
Is there something I was missing? First of all, can Procedural Sky affecting model in SceneKit editor actually works with ARKit? Or it needs to be PBR only?
Answering my own question:
Very possibly, ARKit environment light (Sky) ONLY reacts correctly when there is one material or object with PBR light, with Environment Light set in the scene. I tested having both PBR material and other non PBR materials (Blinn, etc). Having Procedural Sky set will not work for material light Phong, Blinn... until PBR material and Procedural Sky is set. Although I have a feeling that PBR material is still safest to work with AR.
Probably a little bug of Scene Editor with ARScene connection.
This is using XCode 9 beta with iOS 11 beta.