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

Lighting models on devices lower than A11 #9

Open
multybuq opened this issue Dec 9, 2019 · 2 comments
Open

Lighting models on devices lower than A11 #9

multybuq opened this issue Dec 9, 2019 · 2 comments

Comments

@multybuq
Copy link

multybuq commented Dec 9, 2019

Hello!

I am using GLTFMTL framework in iOS application, is works great on iphone XS (A12 chip). GLTFMTLLightingEnvironment and GLTFKHRLight works with any combinations. But on iphone 7 and 6s (A10 chip and lower) lighting don't work and the model is absolutely black. I tried many models and situation is the same. The problem was on the lines
_equirectToCubePipeline = [_device newComputePipelineStateWithFunction:equirectFunction error:error]; _irradiancePipeline = [_device newComputePipelineStateWithFunction:irradianceFunction error:error]; _specularPipeline = [_device newComputePipelineStateWithFunction:specularFunction error:error];
all the pipelines returned are nil.

The first suggestion is some parameter inside metal function is not compatible with a10 chip and lower. But I am not sure. Any suggestions?

@multybuq
Copy link
Author

multybuq commented Dec 9, 2019

Looks like the problem is here:

@wvdk
Copy link

wvdk commented Nov 24, 2020

@multybuq did you find a solution to A10 support here? We're trying desperately to find a robust glTF decoder for iOS

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

2 participants