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

Investigate why we can load gltf from polyhaven, but fbx have a problem with bump_normals #134

Open
Adnn opened this issue Jul 19, 2024 · 1 comment

Comments

@Adnn
Copy link
Contributor

Adnn commented Jul 19, 2024

For both gltf and fbx, the files does not contain tangent/bitangent and they are computed by Assimp.

The issue looks a bit like an handedness problem, but It is strange it is only the case with one format.

Tangents

FBX glTF
Image Image

Bitangents

FBX glTF
Image Image
@Adnn
Copy link
Contributor Author

Adnn commented Jul 19, 2024

Well, as we can see above both formats lead to the same tangent/bitangent.

Turns out it was not an issue of handedness, but how I converted the exr normal map to png. Downloading the png directly from polyhaven fixed it.

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

No branches or pull requests

1 participant