{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/6121","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/6121/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/6121/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/6121/events","html_url":"https://github.com/mrdoob/three.js/issues/6121","id":58518879,"number":6121,"title":"incorrect texture gets assigned to unrelated shader material","user":{"login":"makc","id":242577,"avatar_url":"https://avatars.githubusercontent.com/u/242577?v=3","gravatar_id":"","url":"https://api.github.com/users/makc","html_url":"https://github.com/makc","followers_url":"https://api.github.com/users/makc/followers","following_url":"https://api.github.com/users/makc/following{/other_user}","gists_url":"https://api.github.com/users/makc/gists{/gist_id}","starred_url":"https://api.github.com/users/makc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makc/subscriptions","organizations_url":"https://api.github.com/users/makc/orgs","repos_url":"https://api.github.com/users/makc/repos","events_url":"https://api.github.com/users/makc/events{/privacy}","received_events_url":"https://api.github.com/users/makc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Bug","name":"Bug","color":"ffcfcf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-22T21:12:01Z","updated_at":"2015-03-15T23:37:26Z","closed_at":null,"body":"not sure if I can offer easily reproducible exmple, but the crux is this: if I have a shader 1 with undefined value for texture uniform, and then load another shader 2 with all textures set, one of these is suddenly used in shader 1 then. I had to create dummy datatexture where I had no texture set because of this, because debugging wrong texture and debugging missing texture are different things."},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/81293485","html_url":"https://github.com/mrdoob/three.js/issues/6121#issuecomment-81293485","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/6121","id":81293485,"user":{"login":"brunosimon","id":5439991,"avatar_url":"https://avatars.githubusercontent.com/u/5439991?v=3","gravatar_id":"","url":"https://api.github.com/users/brunosimon","html_url":"https://github.com/brunosimon","followers_url":"https://api.github.com/users/brunosimon/followers","following_url":"https://api.github.com/users/brunosimon/following{/other_user}","gists_url":"https://api.github.com/users/brunosimon/gists{/gist_id}","starred_url":"https://api.github.com/users/brunosimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunosimon/subscriptions","organizations_url":"https://api.github.com/users/brunosimon/orgs","repos_url":"https://api.github.com/users/brunosimon/repos","events_url":"https://api.github.com/users/brunosimon/events{/privacy}","received_events_url":"https://api.github.com/users/brunosimon/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T23:37:26Z","updated_at":"2015-03-15T23:37:26Z","body":"Do you mean that you put a map with empty texture on every material not having one ? :/"}}