Skip to content

Autogenerate tangents #2

Open
@w0rm

Description

@w0rm

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions