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

Importing a GLB exported from SketchUp, all materials have an IOR of 1000 #2428

Open
videopilot opened this issue Nov 27, 2024 · 1 comment
Labels
question Further information is requested

Comments

@videopilot
Copy link

I exported a model from SketchUp 2024 as DAE and GLB. The GLB had all materials set to an IOR of 1000. Comparison below:

Screenshot 2024-11-27 at 6 39 56 PM

Not sure if SketchUp is putting that value in the file or if it's the importer, but I also converted the GLB to GLTF at 3dpea.com, and there doesn't seem to be any IOR stored in the converted file. Importing that GLTF had a more reasonable IOR of 1.5.

image

floor 3.zip

@scurest
Copy link
Contributor

scurest commented Nov 28, 2024

The .glb file uses the extension KHR_materials_pbrSpecularGlossiness, which is always imported with an IOR of 1000, see #2127. This makes some of the math come out correctly IIRC.

@julienduroure julienduroure added the question Further information is requested label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants