{"action":"created","issue":{"url":"https://api.github.com/repos/mpetroff/pannellum/issues/45","labels_url":"https://api.github.com/repos/mpetroff/pannellum/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/mpetroff/pannellum/issues/45/comments","events_url":"https://api.github.com/repos/mpetroff/pannellum/issues/45/events","html_url":"https://github.com/mpetroff/pannellum/issues/45","id":55917423,"number":45,"title":"WebGL error on IE 11 with cubemap","user":{"login":"danielnaber","id":857004,"avatar_url":"https://avatars.githubusercontent.com/u/857004?v=3","gravatar_id":"","url":"https://api.github.com/users/danielnaber","html_url":"https://github.com/danielnaber","followers_url":"https://api.github.com/users/danielnaber/followers","following_url":"https://api.github.com/users/danielnaber/following{/other_user}","gists_url":"https://api.github.com/users/danielnaber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnaber/subscriptions","organizations_url":"https://api.github.com/users/danielnaber/orgs","repos_url":"https://api.github.com/users/danielnaber/repos","events_url":"https://api.github.com/users/danielnaber/events{/privacy}","received_events_url":"https://api.github.com/users/danielnaber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mpetroff/pannellum/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-29T15:58:55Z","updated_at":"2015-03-02T16:02:31Z","closed_at":"2015-02-25T22:57:15Z","body":"IE 11 (version 11.0.9600.17501) runs into the WebGL error (\"Your browser does not support WebGL\"), even though WebGL seems to be enabled (e.g. when visiting get.webgl.org - it says support is experimental). The console log says:\r\n\r\n    WEBGL11003: INVALID_VALUE: texImage2D\r\n\r\nin pannellum.html line 626, Column 17 (...one of these per image...), and then\r\n\r\n    WEBGL11122: drawArrays: Texture is not cubemap complete. Alle cubemaps faces must be defined and be the same size.\r\n\r\nin pannellum.html, line 730, column 13 (probably caused by the errors above)\r\n\r\nDebugging show that the error code from gl.getError() is 1281 (GL_INVALID_VALUE).\r\n\r\nEach cube is 1142x1142 pixels and it works with Firefox and Chrome. Maximum size is not the problem (maximum size is about 16,000).\r\n\r\nTest URL: http://danielnaber.de/tmp/pannellum/ (yes, it's the same image for all six surfaces)\r\n\r\nYou can probably reproduce this with browserstack.com (saucelabs browsers don't seem to have WebGL enabled).\r\n\r\nThe documentation at https://msdn.microsoft.com/en-us/library/ie/dn302435%28v=vs.85%29.aspx has different parameters (e.g. width and height), but I have no clue about WebGL so I'm not sure if this is relevant.\r\n"},"comment":{"url":"https://api.github.com/repos/mpetroff/pannellum/issues/comments/76738815","html_url":"https://github.com/mpetroff/pannellum/issues/45#issuecomment-76738815","issue_url":"https://api.github.com/repos/mpetroff/pannellum/issues/45","id":76738815,"user":{"login":"umbreak","id":1430863,"avatar_url":"https://avatars.githubusercontent.com/u/1430863?v=3","gravatar_id":"","url":"https://api.github.com/users/umbreak","html_url":"https://github.com/umbreak","followers_url":"https://api.github.com/users/umbreak/followers","following_url":"https://api.github.com/users/umbreak/following{/other_user}","gists_url":"https://api.github.com/users/umbreak/gists{/gist_id}","starred_url":"https://api.github.com/users/umbreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbreak/subscriptions","organizations_url":"https://api.github.com/users/umbreak/orgs","repos_url":"https://api.github.com/users/umbreak/repos","events_url":"https://api.github.com/users/umbreak/events{/privacy}","received_events_url":"https://api.github.com/users/umbreak/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T16:02:31Z","updated_at":"2015-03-02T16:02:31Z","body":"What about this: https://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences#Non-Power_of_Two_Texture_Support"}}