I am trying to load a .usdz
model with transparency in SceneKit. It works perfectly in RealityKit but in the case of SceneKit I only get a black sphere.
How can I solve this issue?
I am trying to load a .usdz
model with transparency in SceneKit. It works perfectly in RealityKit but in the case of SceneKit I only get a black sphere.
How can I solve this issue?
In order to see a material of USDZ model in SceneKit just turn the default lighting on.
@IBOutlet var sceneView: ARSCNView!
sceneView.autoenablesDefaultLighting = true
If you need to learn more about transparency in SceneKit, read this post and this post.
P.S.
Also, read about the similarities between SceneKit and RealityKit shaders.