{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/8107","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/8107/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/8107/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/8107/events","html_url":"https://github.com/mrdoob/three.js/issues/8107","id":132959070,"number":8107,"title":"[MeshStandardMaterial] envMap reflections are not occluded by aoMap ","user":{"login":"Silvaire","id":802022,"avatar_url":"https://avatars.githubusercontent.com/u/802022?v=3","gravatar_id":"","url":"https://api.github.com/users/Silvaire","html_url":"https://github.com/Silvaire","followers_url":"https://api.github.com/users/Silvaire/followers","following_url":"https://api.github.com/users/Silvaire/following{/other_user}","gists_url":"https://api.github.com/users/Silvaire/gists{/gist_id}","starred_url":"https://api.github.com/users/Silvaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silvaire/subscriptions","organizations_url":"https://api.github.com/users/Silvaire/orgs","repos_url":"https://api.github.com/users/Silvaire/repos","events_url":"https://api.github.com/users/Silvaire/events{/privacy}","received_events_url":"https://api.github.com/users/Silvaire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Enhancement","name":"Enhancement","color":"deffdb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-02-11T12:23:23Z","updated_at":"2016-02-20T04:45:46Z","closed_at":null,"body":"Hello,\r\n\r\nIn the following scenes rendered using the MeshStandardMaterial and a white ambientLight, you can see\r\n- an object using an aoMap without any envMap (so no dynamic reflexion): \r\n![2016 02 11 couch_envmap_off](https://i.imgur.com/EK2SXRO.jpg)\r\n- an object using an aoMap with an envMap (so with dynamic reflexion):\r\n![2016 02 11 couch_envmap_on](https://i.imgur.com/xyvp96S.jpg)\r\n\r\nThe problem is that in the second case (which is the one I'm trying to achieve), the light from the envMap (or reflexions) is not occluded by the aoMap. This leaves the rendering with bright regions that should be dark (for example, behind the cushion on the right side, there's light between the cushion and the back of the seat. According to the aoMap, it should be completely dark - as it is when I turn of the envMap like in the first case).\r\n\r\nI saw a few discussions on the topic, specifically in https://github.com/mrdoob/three.js/issues/7377, but I was wondering if\r\n- I understood right, and what I'm seeing is currently expected for three.js?\r\n- this behavior is going to be improved/fixed in the future?\r\n\r\nThanks in advance for your help,\r\n\r\n  Silvain Toromanoff"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/186505705","html_url":"https://github.com/mrdoob/three.js/issues/8107#issuecomment-186505705","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/8107","id":186505705,"user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T04:45:45Z","updated_at":"2016-02-20T04:45:45Z","body":"@Silvaire A solution has been implemented. Can this be closed now?"}}