Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shader compile error on Xcode 13 #66

Open
ghost opened this issue Jun 16, 2022 · 0 comments
Open

shader compile error on Xcode 13 #66

ghost opened this issue Jun 16, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 16, 2022

Hi
I'm trying to show .glb file on swift.
I read the sample file and attached it on my Xcode project with same Assets.
But I encountered error like this.
Any help??

[SceneKit] Error: FATAL ERROR : failed compiling shader: Error Domain=MTLLibraryErrorDomain Code=3 "program_source:3718:1: error: C++ requires a type specifier for all declarations , constant float& metallicFactor ^ " UserInfo={NSLocalizedDescription=program_source:3718:1: error: C++ requires a type specifier for all declarations , constant float& metallicFactor ^ }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants