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

fix baseColorFactor color space. #339

Merged
merged 1 commit into from Dec 12, 2019
Merged

Conversation

hiroj
Copy link
Contributor

@hiroj hiroj commented Dec 12, 2019

Convert baseColorFactor to linearColor when exporting
Convert baseColorFactor to gammaColor when importing

issue

#301

@hiroj hiroj requested a review from ousttrue December 12, 2019 06:44
@hiroj
Copy link
Contributor Author

hiroj commented Dec 12, 2019

Unity
ColorValue: 0.0, 0.25, 0.5, 0.75, 1.0
image

UniVRM Export glb, Three.js renderer
GltfColorValue: 0, 0.0508760773, 0.214041144, 0.5225216, 1.0
image

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

Successfully merging this pull request may close these issues.

None yet

2 participants