{"action":"closed","issue":{"url":"https://api.github.com/repos/Planimeter/lgf/issues/6","repository_url":"https://api.github.com/repos/Planimeter/lgf","labels_url":"https://api.github.com/repos/Planimeter/lgf/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Planimeter/lgf/issues/6/comments","events_url":"https://api.github.com/repos/Planimeter/lgf/issues/6/events","html_url":"https://github.com/Planimeter/lgf/issues/6","id":315331313,"number":6,"title":"Bitangents Assimp and gltf","user":{"login":"revolucas","id":715088,"avatar_url":"https://avatars1.githubusercontent.com/u/715088?v=4","gravatar_id":"","url":"https://api.github.com/users/revolucas","html_url":"https://github.com/revolucas","followers_url":"https://api.github.com/users/revolucas/followers","following_url":"https://api.github.com/users/revolucas/following{/other_user}","gists_url":"https://api.github.com/users/revolucas/gists{/gist_id}","starred_url":"https://api.github.com/users/revolucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revolucas/subscriptions","organizations_url":"https://api.github.com/users/revolucas/orgs","repos_url":"https://api.github.com/users/revolucas/repos","events_url":"https://api.github.com/users/revolucas/events{/privacy}","received_events_url":"https://api.github.com/users/revolucas/received_events","type":"User","site_admin":false},"labels":[{"id":502737759,"url":"https://api.github.com/repos/Planimeter/lgf/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"andrewmcwatters","id":487078,"avatar_url":"https://avatars1.githubusercontent.com/u/487078?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcwatters","html_url":"https://github.com/andrewmcwatters","followers_url":"https://api.github.com/users/andrewmcwatters/followers","following_url":"https://api.github.com/users/andrewmcwatters/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcwatters/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcwatters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcwatters/subscriptions","organizations_url":"https://api.github.com/users/andrewmcwatters/orgs","repos_url":"https://api.github.com/users/andrewmcwatters/repos","events_url":"https://api.github.com/users/andrewmcwatters/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcwatters/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrewmcwatters","id":487078,"avatar_url":"https://avatars1.githubusercontent.com/u/487078?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewmcwatters","html_url":"https://github.com/andrewmcwatters","followers_url":"https://api.github.com/users/andrewmcwatters/followers","following_url":"https://api.github.com/users/andrewmcwatters/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcwatters/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcwatters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcwatters/subscriptions","organizations_url":"https://api.github.com/users/andrewmcwatters/orgs","repos_url":"https://api.github.com/users/andrewmcwatters/repos","events_url":"https://api.github.com/users/andrewmcwatters/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcwatters/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-04-18T04:58:36Z","updated_at":"2018-04-22T05:09:24Z","closed_at":"2018-04-22T05:09:24Z","author_association":"NONE","body":"I believe to get correct looking normals you need the mBitangent accessor from the aimesh and calculate the bitangentW in the shader as:\r\n\r\n`vec3 bitangentW = normalize(vec3(model * vec4(bitangent.xyz, 0.0)));`\r\n\r\nIf you load up NormalTangentMirrorTest.gltf, you'll see the U and V mirror examples are messed up.\r\n\r\nhttps://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/NormalTangentMirrorTest"}}
{"actor":{"display_login":"andrewmcwatters"}}