{"action":"created","issue":{"url":"https://api.github.com/repos/ray-cast/ray-mmd/issues/37","repository_url":"https://api.github.com/repos/ray-cast/ray-mmd","labels_url":"https://api.github.com/repos/ray-cast/ray-mmd/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/ray-cast/ray-mmd/issues/37/comments","events_url":"https://api.github.com/repos/ray-cast/ray-mmd/issues/37/events","html_url":"https://github.com/ray-cast/ray-mmd/issues/37","id":275181710,"number":37,"title":"Model remains black even after applying material + main.fx + skybox","user":{"login":"PastMemories","id":33811485,"avatar_url":"https://avatars2.githubusercontent.com/u/33811485?v=4","gravatar_id":"","url":"https://api.github.com/users/PastMemories","html_url":"https://github.com/PastMemories","followers_url":"https://api.github.com/users/PastMemories/followers","following_url":"https://api.github.com/users/PastMemories/following{/other_user}","gists_url":"https://api.github.com/users/PastMemories/gists{/gist_id}","starred_url":"https://api.github.com/users/PastMemories/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PastMemories/subscriptions","organizations_url":"https://api.github.com/users/PastMemories/orgs","repos_url":"https://api.github.com/users/PastMemories/repos","events_url":"https://api.github.com/users/PastMemories/events{/privacy}","received_events_url":"https://api.github.com/users/PastMemories/received_events","type":"User","site_admin":false},"labels":[{"id":425349797,"url":"https://api.github.com/repos/ray-cast/ray-mmd/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-19T18:46:29Z","updated_at":"2017-11-20T04:59:32Z","closed_at":null,"author_association":"NONE","body":"Strangely enough, a particular model seems to remain 'black' even with main.fx on and the materials applied in MaterialMap. This model is Bumblebee (https://bowlroll.net/file/149881 - the one in the middle in the picture) while the other two models I show here function normally under the usual circumstances. \r\n\r\nIn the first picture, all three are using the ClearCoat material. It is to be noted that using other material types results in the same problem for the model in the middle, as seen in the 2nd picture where all three are using the Metallic ~ Flat ingot rough (material_rough_metal) material. 3rd picture shows the affected model's original colours without raycast.\r\n\r\nI don't know the reason why the model in question is being this way, but I hope this is something that's fixable. \r\n\r\n![test](https://user-images.githubusercontent.com/33811485/32994011-0d44ff06-cd9c-11e7-8d1f-e2bb1716f81d.png)\r\n![bleh](https://user-images.githubusercontent.com/33811485/32994037-9ac7b670-cd9c-11e7-8971-3e8bdb795af6.png)\r\n![aaa](https://user-images.githubusercontent.com/33811485/32994056-ef040c20-cd9c-11e7-9a37-d7a1e2d47276.png)"},"comment":{"url":"https://api.github.com/repos/ray-cast/ray-mmd/issues/comments/345592205","html_url":"https://github.com/ray-cast/ray-mmd/issues/37#issuecomment-345592205","issue_url":"https://api.github.com/repos/ray-cast/ray-mmd/issues/37","id":345592205,"user":{"login":"PastMemories","id":33811485,"avatar_url":"https://avatars2.githubusercontent.com/u/33811485?v=4","gravatar_id":"","url":"https://api.github.com/users/PastMemories","html_url":"https://github.com/PastMemories","followers_url":"https://api.github.com/users/PastMemories/followers","following_url":"https://api.github.com/users/PastMemories/following{/other_user}","gists_url":"https://api.github.com/users/PastMemories/gists{/gist_id}","starred_url":"https://api.github.com/users/PastMemories/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PastMemories/subscriptions","organizations_url":"https://api.github.com/users/PastMemories/orgs","repos_url":"https://api.github.com/users/PastMemories/repos","events_url":"https://api.github.com/users/PastMemories/events{/privacy}","received_events_url":"https://api.github.com/users/PastMemories/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T04:59:32Z","updated_at":"2017-11-20T04:59:32Z","author_association":"NONE","body":"Hmm... that doesn't really work, sadly. It still retains the black colour.\r\n\r\nWhen applied to subset2, all other materials having no fx:\r\n![how sad](https://user-images.githubusercontent.com/33811485/33002910-253d315e-cdf2-11e7-9dcf-0170f6d541f7.jpg)\r\n\r\nWhen all materials have the edited fx:\r\n![poof](https://user-images.githubusercontent.com/33811485/33002921-3b5a0b9c-cdf2-11e7-920f-82882813ccf3.jpg)\r\n\r\nHowever, the edit works. Changing all materials from ambient to diffuse colour fixed the problem, albeit leaving the model discoloured if raycast is not put into MMD.\r\n\r\nLeft: Original, Right: Edited\r\n\r\n![ori and edited](https://user-images.githubusercontent.com/33811485/33002593-18f5e53c-cdf0-11e7-8628-7ce5deaa9420.jpg)\r\n![nyeh](https://user-images.githubusercontent.com/33811485/33002640-62951258-cdf0-11e7-9955-902dac7b85f5.jpg)"}}
{"actor":{"display_login":"PastMemories"}}