Open tsleow opened 8 years ago
Hi,
I think Physically Based Shader required Metal API on iOS. This sample code based on OpenGLES 2.0. Therefore, This sample code not supports Physically based shader now.
But Vuforia SDK seems to support Metal API, So, You will be able to use Physically Based Shader if you can connect SceneKit to Vuforia SDK using Metal API.
Hi,
I'm using Xcode 8.0 beta 4 to test-assign Physically Based shader apply to my 3D mesh. I have an error message when the app runs & my mesh model goes to black Color & shows this error message : "VuforiaSampleSwift[2272:337446] [SceneKit] Error: C3DLightingModelPhysicallyBased not supported by OpenGL render"
If I using normal shader phong, lambert... everything is fine, can you help me to check what is going wrong? Thanks in advance.