{"action":"closed","issue":{"url":"https://api.github.com/repos/nlguillemot/ShaderSet/issues/3","repository_url":"https://api.github.com/repos/nlguillemot/ShaderSet","labels_url":"https://api.github.com/repos/nlguillemot/ShaderSet/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nlguillemot/ShaderSet/issues/3/comments","events_url":"https://api.github.com/repos/nlguillemot/ShaderSet/issues/3/events","html_url":"https://github.com/nlguillemot/ShaderSet/issues/3","id":195355127,"number":3,"title":"Support for multiple shader types in one file","user":{"login":"thomask77","id":155718,"avatar_url":"https://avatars.githubusercontent.com/u/155718?v=3","gravatar_id":"","url":"https://api.github.com/users/thomask77","html_url":"https://github.com/thomask77","followers_url":"https://api.github.com/users/thomask77/followers","following_url":"https://api.github.com/users/thomask77/following{/other_user}","gists_url":"https://api.github.com/users/thomask77/gists{/gist_id}","starred_url":"https://api.github.com/users/thomask77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomask77/subscriptions","organizations_url":"https://api.github.com/users/thomask77/orgs","repos_url":"https://api.github.com/users/thomask77/repos","events_url":"https://api.github.com/users/thomask77/events{/privacy}","received_events_url":"https://api.github.com/users/thomask77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-13T20:09:28Z","updated_at":"2016-12-17T00:12:56Z","closed_at":"2016-12-17T00:12:56Z","body":"Hi!\r\n\r\nIt would be nice to have support for complete shader programs in one file by using `#ifdef`:\r\n\r\n- https://software.intel.com/en-us/blogs/2012/03/26/using-ifdef-in-opengl-es-20-shaders\r\n\r\nI would suggest `.glsl` as the extension, and some type of auto-detection to find out which shaders are contained in the file (like a search for `#ifdef VERTEX_SHADER`, ... during load-time).\r\n\r\nbest regards,\r\nthomas"}}
{"actor":{"display_login":"nlguillemot"}}