I have several objects in my scene, all of which had the "lighting model" of their material set to be physically based.
When I run the app, the view I get looks nothing like the scene editor - it instead looks more like Phong materials.
Is there a root node I need to change in order to have it render physically based from the get-go? I'm new to objective-c, so I'm not sure if I need to set the lighting model of the root node to physically based, and if so, how I would access the root node (and furthermore, can the root node even have a lighting model attribute since it itself is not renderable).
My models were created in ZBrush, retopologized and UV mapped in UIViewController, and were converted to .dae files in Blender. Is it possible that one of those programs set the material shader to be phong? Wouldn't the SceneKit editor overwrite that and set it to physically based?
As far as I can tell, all versions of Xcode, iOS, and SceneKit are recent enough to support PBR.
Thank you for any help :)
来源:https://stackoverflow.com/questions/45374054/scenekit-view-renders-as-phong-instead-of-physically-based-materials