{"action":"opened","issue":{"url":"https://api.github.com/repos/GameFoundry/bsf/issues/26","repository_url":"https://api.github.com/repos/GameFoundry/bsf","labels_url":"https://api.github.com/repos/GameFoundry/bsf/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/GameFoundry/bsf/issues/26/comments","events_url":"https://api.github.com/repos/GameFoundry/bsf/issues/26/events","html_url":"https://github.com/GameFoundry/bsf/issues/26","id":305876887,"number":26,"title":"Reverse-Z","user":{"login":"BearishSun","id":6533403,"avatar_url":"https://avatars1.githubusercontent.com/u/6533403?v=4","gravatar_id":"","url":"https://api.github.com/users/BearishSun","html_url":"https://github.com/BearishSun","followers_url":"https://api.github.com/users/BearishSun/followers","following_url":"https://api.github.com/users/BearishSun/following{/other_user}","gists_url":"https://api.github.com/users/BearishSun/gists{/gist_id}","starred_url":"https://api.github.com/users/BearishSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BearishSun/subscriptions","organizations_url":"https://api.github.com/users/BearishSun/orgs","repos_url":"https://api.github.com/users/BearishSun/repos","events_url":"https://api.github.com/users/BearishSun/events{/privacy}","received_events_url":"https://api.github.com/users/BearishSun/received_events","type":"User","site_admin":false},"labels":[{"id":869314287,"url":"https://api.github.com/repos/GameFoundry/bsf/labels/OFFICIAL","name":"OFFICIAL","color":"fcdd41","default":false},{"id":868101694,"url":"https://api.github.com/repos/GameFoundry/bsf/labels/type:%20enhancement","name":"type: enhancement","color":"a2eeef","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/GameFoundry/bsf/milestones/5","html_url":"https://github.com/GameFoundry/bsf/milestone/5","labels_url":"https://api.github.com/repos/GameFoundry/bsf/milestones/5/labels","id":3192896,"number":5,"title":"Longterm","description":null,"creator":{"login":"BearishSun","id":6533403,"avatar_url":"https://avatars1.githubusercontent.com/u/6533403?v=4","gravatar_id":"","url":"https://api.github.com/users/BearishSun","html_url":"https://github.com/BearishSun","followers_url":"https://api.github.com/users/BearishSun/followers","following_url":"https://api.github.com/users/BearishSun/following{/other_user}","gists_url":"https://api.github.com/users/BearishSun/gists{/gist_id}","starred_url":"https://api.github.com/users/BearishSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BearishSun/subscriptions","organizations_url":"https://api.github.com/users/BearishSun/orgs","repos_url":"https://api.github.com/users/BearishSun/repos","events_url":"https://api.github.com/users/BearishSun/events{/privacy}","received_events_url":"https://api.github.com/users/BearishSun/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2018-03-16T10:28:33Z","updated_at":"2018-03-16T10:31:30Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-03-16T10:31:30Z","updated_at":"2018-03-16T10:31:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently the depth buffer is stored in range [0, 1], where 0 is nearest and 1 is furthest. Depth buffer loses precision the father away an object is, which can cause artifacts when depth is compared (e.g. shadow acne). If depth buffer uses a floating point type this problem is compounded as floating point format itself loses precision with larger numbers. However by reversing the depth buffer range to [1, 0], where 1 is nearest, and by using a floating point buffer, we can make these precision errors basically cancel out. This would involve adjusting projection matrix, as well as any shader that reads the depth and adjusting its usage."}}
{"actor":{"display_login":"BearishSun"}}