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

Material color is not reflected. #15

Open
ashutoshmaurya10 opened this issue Mar 8, 2018 · 1 comment
Open

Material color is not reflected. #15

ashutoshmaurya10 opened this issue Mar 8, 2018 · 1 comment

Comments

@ashutoshmaurya10
Copy link

Hi,
We are converting the .babylon file to .gltf format and are trying to load this converted model on the iOS application. The model is getting rendered correctly barring the material color of certain objects which we added to the .babylon file before converting.
The converted model is showing all the material color properties on the .babylonSandbox for the gltf file. Attached are the screenshots of the sandbox and on the iPhone device respectively.

Any pointers regarding this issue would be really helpful.

Thanks & Regards
Ashutosh
babylonsandboxloadedmodelscreenshot
iphoneapploadedmodelscreenshot

@johanos
Copy link

johanos commented Mar 8, 2018

What you can try to do to debug this further is use the SceneKit write function https://developer.apple.com/documentation/scenekit/scnscene/1523577-write

to write your scene to a file, you'll lose references to things like environment maps but you can set them somewhere after you save. then you can take a look at what the materials are and maybe shed some light?

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