{"action":"created","issue":{"url":"https://api.github.com/repos/UPBGE/blender/issues/274","repository_url":"https://api.github.com/repos/UPBGE/blender","labels_url":"https://api.github.com/repos/UPBGE/blender/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/UPBGE/blender/issues/274/comments","events_url":"https://api.github.com/repos/UPBGE/blender/issues/274/events","html_url":"https://github.com/UPBGE/blender/pull/274","id":186086143,"number":274,"title":"UPBGE: Implement python callbacks for custom shaders.","user":{"login":"panzergame","id":8046004,"avatar_url":"https://avatars.githubusercontent.com/u/8046004?v=3","gravatar_id":"","url":"https://api.github.com/users/panzergame","html_url":"https://github.com/panzergame","followers_url":"https://api.github.com/users/panzergame/followers","following_url":"https://api.github.com/users/panzergame/following{/other_user}","gists_url":"https://api.github.com/users/panzergame/gists{/gist_id}","starred_url":"https://api.github.com/users/panzergame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panzergame/subscriptions","organizations_url":"https://api.github.com/users/panzergame/orgs","repos_url":"https://api.github.com/users/panzergame/repos","events_url":"https://api.github.com/users/panzergame/events{/privacy}","received_events_url":"https://api.github.com/users/panzergame/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-29T16:04:04Z","updated_at":"2016-11-02T09:39:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/UPBGE/blender/pulls/274","html_url":"https://github.com/UPBGE/blender/pull/274","diff_url":"https://github.com/UPBGE/blender/pull/274.diff","patch_url":"https://github.com/UPBGE/blender/pull/274.patch"},"body":"Previously the user wasn't able to set uniform values per object\nusing a custom shader and not globally for all the shader.\n\nTo solve this lack the easiest way is to give the user the possibility\nto use a python callback. This callback is called just before\nrendering a mesh with the custom shader.\n\nThe callbacks executed receive as arguments the shader to alterate\nand the game object to have an identifier.\n\nThe callbacks list is accessed under the name of BL_Shader.objectCallback.\n###### \n\nI'm really not sure about the python attribute name, @DCubix, @youle31, @lordloki : Do you have a suggestion ?\n"},"comment":{"url":"https://api.github.com/repos/UPBGE/blender/issues/comments/257815989","html_url":"https://github.com/UPBGE/blender/pull/274#issuecomment-257815989","issue_url":"https://api.github.com/repos/UPBGE/blender/issues/274","id":257815989,"user":{"login":"youle31","id":10052509,"avatar_url":"https://avatars.githubusercontent.com/u/10052509?v=3","gravatar_id":"","url":"https://api.github.com/users/youle31","html_url":"https://github.com/youle31","followers_url":"https://api.github.com/users/youle31/followers","following_url":"https://api.github.com/users/youle31/following{/other_user}","gists_url":"https://api.github.com/users/youle31/gists{/gist_id}","starred_url":"https://api.github.com/users/youle31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youle31/subscriptions","organizations_url":"https://api.github.com/users/youle31/orgs","repos_url":"https://api.github.com/users/youle31/repos","events_url":"https://api.github.com/users/youle31/events{/privacy}","received_events_url":"https://api.github.com/users/youle31/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T09:39:39Z","updated_at":"2016-11-02T09:39:39Z","body":"I don't understand how it works but it works for me so it's ok. I need to read doc about callbacks..."}}
{"actor":{"display_login":"youle31"}}