Skip to content

Radient: GLTF Loader looses tangent handedness #267

Description

@TheMostDiligent

In glTF, tangent W is -1 or +1 and carries tangent-basis handedness. The bitangent is derived as:

cross(normal, tangent.xyz) * tangent.w

Dropping W breaks normal mapping on mirrored UV islands unless some other path reconstructs the sign; no such path is retained in these imported structures.

Radient's glTF vertex layout should store tangent as float4, even if the generic Diligent default remains float3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions