Skip to content

Skinning.glsllib fails compilation when NUM_WEIGHTS_PER_VERT = 1 #1879

Closed
@zzuegg

Description

@zzuegg

Line 53:
tangent = m_BoneMatrices[int(inHWBoneIndex.x)] * tangent;
is
vec3 = mat4*vec3

I will fix it when someone more capable at math says how. i guess:
tangent = (m_BoneMatrices[int(inHWBoneIndex.x)] * vec4(tangent,1.0f)).xyz;

should work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions