{"action":"created","issue":{"url":"https://api.github.com/repos/Polytonic/Glitter/issues/20","labels_url":"https://api.github.com/repos/Polytonic/Glitter/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Polytonic/Glitter/issues/20/comments","events_url":"https://api.github.com/repos/Polytonic/Glitter/issues/20/events","html_url":"https://github.com/Polytonic/Glitter/issues/20","id":114399179,"number":20,"title":"Shader Directory in glitter","user":{"login":"debangshuroy","id":11232818,"avatar_url":"https://avatars.githubusercontent.com/u/11232818?v=3","gravatar_id":"","url":"https://api.github.com/users/debangshuroy","html_url":"https://github.com/debangshuroy","followers_url":"https://api.github.com/users/debangshuroy/followers","following_url":"https://api.github.com/users/debangshuroy/following{/other_user}","gists_url":"https://api.github.com/users/debangshuroy/gists{/gist_id}","starred_url":"https://api.github.com/users/debangshuroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debangshuroy/subscriptions","organizations_url":"https://api.github.com/users/debangshuroy/orgs","repos_url":"https://api.github.com/users/debangshuroy/repos","events_url":"https://api.github.com/users/debangshuroy/events{/privacy}","received_events_url":"https://api.github.com/users/debangshuroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-31T08:58:45Z","updated_at":"2015-11-01T04:59:33Z","closed_at":null,"body":"I cloned it and imported in Qt and it is working perfectly. Thank you for this great boilerplate. Can you add one more folder like shaders and change in CMakeLists.txt so that vertex shaders and fragment shaders are copied into build folder during building. \r\n\r\nI found this in CMakeList.txt\r\n```\r\nfile(GLOB PROJECT_SHADERS Glitter/Shaders/*.comp\r\n                          Glitter/Shaders/*.frag\r\n                          Glitter/Shaders/*.geom\r\n                          Glitter/Shaders/*.vert)\r\n```\r\nA little more documentation on this will be helpful."},"comment":{"url":"https://api.github.com/repos/Polytonic/Glitter/issues/comments/152794220","html_url":"https://github.com/Polytonic/Glitter/issues/20#issuecomment-152794220","issue_url":"https://api.github.com/repos/Polytonic/Glitter/issues/20","id":152794220,"user":{"login":"Polytonic","id":5358453,"avatar_url":"https://avatars.githubusercontent.com/u/5358453?v=3","gravatar_id":"","url":"https://api.github.com/users/Polytonic","html_url":"https://github.com/Polytonic","followers_url":"https://api.github.com/users/Polytonic/followers","following_url":"https://api.github.com/users/Polytonic/following{/other_user}","gists_url":"https://api.github.com/users/Polytonic/gists{/gist_id}","starred_url":"https://api.github.com/users/Polytonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polytonic/subscriptions","organizations_url":"https://api.github.com/users/Polytonic/orgs","repos_url":"https://api.github.com/users/Polytonic/repos","events_url":"https://api.github.com/users/Polytonic/events{/privacy}","received_events_url":"https://api.github.com/users/Polytonic/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T04:59:33Z","updated_at":"2015-11-01T04:59:33Z","body":"```cmake\r\nfile(GLOB PROJECT_SHADERS Glitter/Shaders/*.comp\r\n                          Glitter/Shaders/*.frag\r\n                          Glitter/Shaders/*.geom\r\n                          Glitter/Shaders/*.vert)\r\n```\r\n\r\nThis is so shaders display in IDE sidebars.\r\n\r\n>I cloned it and imported in Qt and it is working perfectly. Thank you for this great boilerplate. Can you add one more folder like shaders and change in CMakeLists.txt so that vertex shaders and fragment shaders are copied into build folder during building.\r\n\r\nI'm hesitant to add shaders to Glitter. This is a starting point for most people, and writing \"your own shader class and loader\" is one of those \"OpenGL\" rites of passage. Everyone does it slightly differently. The point is to just get you started. If you can provide a convincing argument otherwise, I'm listening. :smile: "}}