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

Autogenerate tangents #2

Open
w0rm opened this issue Aug 7, 2020 · 0 comments · May be fixed by #13
Open

Autogenerate tangents #2

w0rm opened this issue Aug 7, 2020 · 0 comments · May be fixed by #13
Assignees

Comments

@w0rm
Copy link
Owner

w0rm commented Aug 7, 2020

Tangents would allow rendering with normal mapping. Tangent can be calculated from positions and uv of three vertices from a face.

TBD: a tangent probably needs to store an additional value (1 or -1) that is needed to compute the direction of bitangent, so a Vector3d type might not be enough to store the value.

This depends on elm-3d-scene support for normal maps.

@w0rm w0rm self-assigned this Feb 10, 2021
@w0rm w0rm linked a pull request May 17, 2021 that will close this issue
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 a pull request may close this issue.

1 participant