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 and document normal map handedness #18522

Merged
merged 2 commits into from
Jan 31, 2020

Conversation

Oletus
Copy link
Contributor

@Oletus Oletus commented Jan 31, 2020

A few examples use normal maps that have not been authored with the OpenGL normal map handedness convention. In these cases the normal scale y needs to be negated to get the normal maps to display correctly.

A mention of normal map handedness is also added to documentation - otherwise it can be hard to find out that the handedness differences exist and how to handle them in three.js.

Related earlier discussion in issue #11315

A few examples use normal maps that have not been authored with the OpenGL normal map handedness convention. In these cases the normal scale y needs to be negated to get the normal maps to display correctly.
@mrdoob mrdoob added this to the r114 milestone Jan 31, 2020
@mrdoob mrdoob merged commit 3cf17ee into mrdoob:dev Jan 31, 2020
@mrdoob
Copy link
Owner

mrdoob commented Jan 31, 2020

Thanks!

@Oletus
Copy link
Contributor Author

Oletus commented Jan 31, 2020

Thanks for the very quick review! :)

@Oletus Oletus deleted the fix-normal-map-handedness branch January 31, 2020 20:44
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.

2 participants