{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/3532","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/3532/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/3532/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/3532/events","html_url":"https://github.com/mrdoob/three.js/issues/3532","id":14991994,"number":3532,"title":"Shadow mapping vs scissor test","user":{"login":"Borisss","id":3647854,"avatar_url":"https://avatars.githubusercontent.com/u/3647854?v=3","gravatar_id":"","url":"https://api.github.com/users/Borisss","html_url":"https://github.com/Borisss","followers_url":"https://api.github.com/users/Borisss/followers","following_url":"https://api.github.com/users/Borisss/following{/other_user}","gists_url":"https://api.github.com/users/Borisss/gists{/gist_id}","starred_url":"https://api.github.com/users/Borisss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Borisss/subscriptions","organizations_url":"https://api.github.com/users/Borisss/orgs","repos_url":"https://api.github.com/users/Borisss/repos","events_url":"https://api.github.com/users/Borisss/events{/privacy}","received_events_url":"https://api.github.com/users/Borisss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Bug","name":"Bug","color":"ffcfcf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-05-31T12:58:20Z","updated_at":"2015-12-16T04:06:05Z","closed_at":"2015-11-17T02:38:26Z","body":"Hi!\r\n\r\nI've run into issue when trying to use shadows in my scene that is rendered into two separate viewports (separate scenes, based on http://mrdoob.github.io/three.js/examples/webgl_multiple_views.html). The moment I enable shadowing, shadow map (used only in one scene, one viewport) is corrupted. Please see the image attached. There is only one shadow receiver in the screenshot and no object casting shadows, yet, parts of the ground are suggested as in shadow. When I remove renderer.enableScissorTest(true), shadows are ok (but I lose my other viewport rendering of course). \r\n\r\nCan this be done with some workaround?\r\n\r\nthree.js r58, win7, latest google chrome, latest firefox\r\n\r\nGreat library btw! Keep up the good work and thanks for any advice!\r\nRegards,\r\nBoris Zapotocky\r\n\r\n![bug_shadow](https://f.cloud.github.com/assets/3647854/590845/ad7ba500-c9f1-11e2-8be0-a695bb3a96b7.png)\r\n\r\n![bug_shadow_noscissor](https://f.cloud.github.com/assets/3647854/590844/ad71d926-c9f1-11e2-9709-e520c381512a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/164986371","html_url":"https://github.com/mrdoob/three.js/issues/3532#issuecomment-164986371","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/3532","id":164986371,"user":{"login":"QuaziKb","id":9892122,"avatar_url":"https://avatars.githubusercontent.com/u/9892122?v=3","gravatar_id":"","url":"https://api.github.com/users/QuaziKb","html_url":"https://github.com/QuaziKb","followers_url":"https://api.github.com/users/QuaziKb/followers","following_url":"https://api.github.com/users/QuaziKb/following{/other_user}","gists_url":"https://api.github.com/users/QuaziKb/gists{/gist_id}","starred_url":"https://api.github.com/users/QuaziKb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuaziKb/subscriptions","organizations_url":"https://api.github.com/users/QuaziKb/orgs","repos_url":"https://api.github.com/users/QuaziKb/repos","events_url":"https://api.github.com/users/QuaziKb/events{/privacy}","received_events_url":"https://api.github.com/users/QuaziKb/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T04:06:05Z","updated_at":"2015-12-16T04:06:05Z","body":"sure this is fixed? I'm still running into the problem"}}