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

.obj loaded Model materials are off #334

Open
Shane-oo opened this issue Jan 11, 2024 · 0 comments
Open

.obj loaded Model materials are off #334

Shane-oo opened this issue Jan 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Shane-oo
Copy link

  • three version: 0.160.0
  • @types/three version: 0.160.0
  • three-stdlib version: 2.28.12

Problem description:

Materials loaded with the MTLLoader and OBJLoader are not the same as threes.js' loaders.
Colours are different between the two.
this is colours loaded with three.js mtl and obj loader:
Screenshot 2024-01-11 142935

and this is colours loaded with three-stdlib mtl and obj loader:
Screenshot 2024-01-11 142928

Suggested solution:

I believe we are missing the commit: mrdoob/three.js@f49819b
where colours are converted from SRGB to Linear. There might be something else but I believe this could be it.

Thank you!

@Shane-oo Shane-oo added the bug Something isn't working label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant