{"action":"created","issue":{"url":"https://api.github.com/repos/stevensona/shader-toy/issues/5","repository_url":"https://api.github.com/repos/stevensona/shader-toy","labels_url":"https://api.github.com/repos/stevensona/shader-toy/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/stevensona/shader-toy/issues/5/comments","events_url":"https://api.github.com/repos/stevensona/shader-toy/issues/5/events","html_url":"https://github.com/stevensona/shader-toy/issues/5","id":188486839,"number":5,"title":"Can't LOAD the TEXTURE!","user":{"login":"daiday","id":2535570,"avatar_url":"https://avatars.githubusercontent.com/u/2535570?v=3","gravatar_id":"","url":"https://api.github.com/users/daiday","html_url":"https://github.com/daiday","followers_url":"https://api.github.com/users/daiday/followers","following_url":"https://api.github.com/users/daiday/following{/other_user}","gists_url":"https://api.github.com/users/daiday/gists{/gist_id}","starred_url":"https://api.github.com/users/daiday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daiday/subscriptions","organizations_url":"https://api.github.com/users/daiday/orgs","repos_url":"https://api.github.com/users/daiday/repos","events_url":"https://api.github.com/users/daiday/events{/privacy}","received_events_url":"https://api.github.com/users/daiday/received_events","type":"User","site_admin":false},"labels":[{"id":409004386,"url":"https://api.github.com/repos/stevensona/shader-toy/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-10T11:42:20Z","updated_at":"2016-11-11T01:29:04Z","closed_at":null,"body":"my glsl code is :\r\n\r\nvoid main()\r\n{\r\n    gl_FragColor = texture2D(iChannel0, gl_FragCoord.xy);\r\n}\r\n\r\nand my folder is:\r\n.vscode\r\ntest.glsl\r\nnormalmap_2.png\r\n\r\nmy settings.json is:\r\n\r\n{\r\n        \"shader-toy.textures\": {\r\n        \"0\": \"./normalmap_2.png\"\r\n    }\r\n}\r\n\r\nBUT, I can't see the image anywhere! and the image is power of two...\r\nplease help me..."},"comment":{"url":"https://api.github.com/repos/stevensona/shader-toy/issues/comments/259857644","html_url":"https://github.com/stevensona/shader-toy/issues/5#issuecomment-259857644","issue_url":"https://api.github.com/repos/stevensona/shader-toy/issues/5","id":259857644,"user":{"login":"stevensona","id":431691,"avatar_url":"https://avatars.githubusercontent.com/u/431691?v=3","gravatar_id":"","url":"https://api.github.com/users/stevensona","html_url":"https://github.com/stevensona","followers_url":"https://api.github.com/users/stevensona/followers","following_url":"https://api.github.com/users/stevensona/following{/other_user}","gists_url":"https://api.github.com/users/stevensona/gists{/gist_id}","starred_url":"https://api.github.com/users/stevensona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevensona/subscriptions","organizations_url":"https://api.github.com/users/stevensona/orgs","repos_url":"https://api.github.com/users/stevensona/repos","events_url":"https://api.github.com/users/stevensona/events{/privacy}","received_events_url":"https://api.github.com/users/stevensona/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T01:29:04Z","updated_at":"2016-11-11T01:29:04Z","body":"The root cause for this regression is still under investigation. For the time being, if you use texture resource not on the local machine, it will load and render correctly. For example:\r\n```cpp\r\nvoid main()\r\n{\r\n  vec2 uv = (gl_FragCoord.xy / iResolution.xy);\r\n  gl_FragColor = texture2D(iChannel0, uv);\r\n}\r\n```\r\n```json\r\n{\r\n  \"shader-toy.textures\": {\r\n  \"0\": \"http://placehold.it/512x512\"\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"stevensona"}}