{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/GearVRf/issues/437","repository_url":"https://api.github.com/repos/Samsung/GearVRf","labels_url":"https://api.github.com/repos/Samsung/GearVRf/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/GearVRf/issues/437/comments","events_url":"https://api.github.com/repos/Samsung/GearVRf/issues/437/events","html_url":"https://github.com/Samsung/GearVRf/issues/437","id":137655275,"number":437,"title":"Shadow mapping gets enabled by default on devices that fallback to monoscopic","user":{"login":"liaxim","id":11889541,"avatar_url":"https://avatars.githubusercontent.com/u/11889541?v=3","gravatar_id":"","url":"https://api.github.com/users/liaxim","html_url":"https://github.com/liaxim","followers_url":"https://api.github.com/users/liaxim/followers","following_url":"https://api.github.com/users/liaxim/following{/other_user}","gists_url":"https://api.github.com/users/liaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/liaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liaxim/subscriptions","organizations_url":"https://api.github.com/users/liaxim/orgs","repos_url":"https://api.github.com/users/liaxim/repos","events_url":"https://api.github.com/users/liaxim/events{/privacy}","received_events_url":"https://api.github.com/users/liaxim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T18:51:43Z","updated_at":"2016-03-11T16:12:21Z","closed_at":"2016-03-11T16:12:21Z","body":"This leads to a crash. Even with the crash fixed shadow mapping doesn't work correctly in monoscopic.\r\n\r\nThe crash is caused by the if ((framebufferId != 0) && !renderShadow) { check in renderer.cpp:197. It enables shadow mapping even if renderShadow is false. nullptr checks are needed for the DirectionalLight associated with the scene. But these are more of a symptoms."},"comment":{"url":"https://api.github.com/repos/Samsung/GearVRf/issues/comments/195431546","html_url":"https://github.com/Samsung/GearVRf/issues/437#issuecomment-195431546","issue_url":"https://api.github.com/repos/Samsung/GearVRf/issues/437","id":195431546,"user":{"login":"liaxim","id":11889541,"avatar_url":"https://avatars.githubusercontent.com/u/11889541?v=3","gravatar_id":"","url":"https://api.github.com/users/liaxim","html_url":"https://github.com/liaxim","followers_url":"https://api.github.com/users/liaxim/followers","following_url":"https://api.github.com/users/liaxim/following{/other_user}","gists_url":"https://api.github.com/users/liaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/liaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liaxim/subscriptions","organizations_url":"https://api.github.com/users/liaxim/orgs","repos_url":"https://api.github.com/users/liaxim/repos","events_url":"https://api.github.com/users/liaxim/events{/privacy}","received_events_url":"https://api.github.com/users/liaxim/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T16:12:21Z","updated_at":"2016-03-11T16:12:21Z","body":"Crash fixed by https://github.com/Samsung/GearVRf/pull/442"}}