{"action":"created","issue":{"url":"https://api.github.com/repos/iryoku/smaa/issues/5","labels_url":"https://api.github.com/repos/iryoku/smaa/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/iryoku/smaa/issues/5/comments","events_url":"https://api.github.com/repos/iryoku/smaa/issues/5/events","html_url":"https://github.com/iryoku/smaa/pull/5","id":59317185,"number":5,"title":"add defines to deal with GL vs. DX v-coordinate direction","user":{"login":"mbechard","id":3588417,"avatar_url":"https://avatars.githubusercontent.com/u/3588417?v=3","gravatar_id":"","url":"https://api.github.com/users/mbechard","html_url":"https://github.com/mbechard","followers_url":"https://api.github.com/users/mbechard/followers","following_url":"https://api.github.com/users/mbechard/following{/other_user}","gists_url":"https://api.github.com/users/mbechard/gists{/gist_id}","starred_url":"https://api.github.com/users/mbechard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbechard/subscriptions","organizations_url":"https://api.github.com/users/mbechard/orgs","repos_url":"https://api.github.com/users/mbechard/repos","events_url":"https://api.github.com/users/mbechard/events{/privacy}","received_events_url":"https://api.github.com/users/mbechard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-28T01:14:57Z","updated_at":"2015-03-01T01:06:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iryoku/smaa/pulls/5","html_url":"https://github.com/iryoku/smaa/pull/5","diff_url":"https://github.com/iryoku/smaa/pull/5.diff","patch_url":"https://github.com/iryoku/smaa/pull/5.patch"},"body":"There is probably another nicer way to fix this, but when implementing this\r\nalgorithm in GL in my engine it wasn't working correctly.\r\nIt seemed that adjusting for the fact that +V is up in GL vs.\r\n+V is down in DX could fix the issue.\r\nDoing A/B comparisons with the sample app and my GL app along the way, it\r\ndid indeed fix the issue.\r\nMaybe flipping the Area/Search textures and flipping my inputs could\r\nalso fix it, but doing it this way keeps all the inputs and outputs\r\nconsistent with the existing engine code."},"comment":{"url":"https://api.github.com/repos/iryoku/smaa/issues/comments/76562064","html_url":"https://github.com/iryoku/smaa/pull/5#issuecomment-76562064","issue_url":"https://api.github.com/repos/iryoku/smaa/issues/5","id":76562064,"user":{"login":"biller23","id":1728580,"avatar_url":"https://avatars.githubusercontent.com/u/1728580?v=3","gravatar_id":"","url":"https://api.github.com/users/biller23","html_url":"https://github.com/biller23","followers_url":"https://api.github.com/users/biller23/followers","following_url":"https://api.github.com/users/biller23/following{/other_user}","gists_url":"https://api.github.com/users/biller23/gists{/gist_id}","starred_url":"https://api.github.com/users/biller23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biller23/subscriptions","organizations_url":"https://api.github.com/users/biller23/orgs","repos_url":"https://api.github.com/users/biller23/repos","events_url":"https://api.github.com/users/biller23/events{/privacy}","received_events_url":"https://api.github.com/users/biller23/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T01:06:37Z","updated_at":"2015-03-01T01:06:37Z","body":"This old SMAA-OpenGL demo (https://github.com/scrawl/smaa-opengl) use this technique.\r\n"}}