GLTFSceneKit icon indicating copy to clipboard operation
GLTFSceneKit copied to clipboard

Material color is not reflected.

Open ashutoshmaurya10 opened this issue 7 years ago • 1 comments

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

ashutoshmaurya10 avatar Mar 08 '18 06:03 ashutoshmaurya10

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?

johanos avatar Mar 08 '18 14:03 johanos