{"action":"created","issue":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/1942","labels_url":"https://api.github.com/repos/photonstorm/phaser/issues/1942/labels{/name}","comments_url":"https://api.github.com/repos/photonstorm/phaser/issues/1942/comments","events_url":"https://api.github.com/repos/photonstorm/phaser/issues/1942/events","html_url":"https://github.com/photonstorm/phaser/issues/1942","id":97340896,"number":1942,"title":"complex polygons are rendered onto renderTextures with flipped y coordinates in webGL","user":{"login":"wayfu","id":7761390,"avatar_url":"https://avatars.githubusercontent.com/u/7761390?v=3","gravatar_id":"","url":"https://api.github.com/users/wayfu","html_url":"https://github.com/wayfu","followers_url":"https://api.github.com/users/wayfu/followers","following_url":"https://api.github.com/users/wayfu/following{/other_user}","gists_url":"https://api.github.com/users/wayfu/gists{/gist_id}","starred_url":"https://api.github.com/users/wayfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayfu/subscriptions","organizations_url":"https://api.github.com/users/wayfu/orgs","repos_url":"https://api.github.com/users/wayfu/repos","events_url":"https://api.github.com/users/wayfu/events{/privacy}","received_events_url":"https://api.github.com/users/wayfu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/photonstorm/phaser/labels/bug%20(pixi)","name":"bug (pixi)","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-26T18:49:29Z","updated_at":"2015-10-13T22:05:59Z","closed_at":null,"body":"jsFiddle with minimal repro here: http://jsfiddle.net/fb4vrnzb/"},"comment":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/comments/147867395","html_url":"https://github.com/photonstorm/phaser/issues/1942#issuecomment-147867395","issue_url":"https://api.github.com/repos/photonstorm/phaser/issues/1942","id":147867395,"user":{"login":"wayfu","id":7761390,"avatar_url":"https://avatars.githubusercontent.com/u/7761390?v=3","gravatar_id":"","url":"https://api.github.com/users/wayfu","html_url":"https://github.com/wayfu","followers_url":"https://api.github.com/users/wayfu/followers","following_url":"https://api.github.com/users/wayfu/following{/other_user}","gists_url":"https://api.github.com/users/wayfu/gists{/gist_id}","starred_url":"https://api.github.com/users/wayfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayfu/subscriptions","organizations_url":"https://api.github.com/users/wayfu/orgs","repos_url":"https://api.github.com/users/wayfu/repos","events_url":"https://api.github.com/users/wayfu/events{/privacy}","received_events_url":"https://api.github.com/users/wayfu/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T22:05:59Z","updated_at":"2015-10-13T22:05:59Z","body":"my workaround for the issue has been to raise the number of points a polygon can have before the rendered assumes it's complex (and uses the stencil rendering function), and to swap out the PolyK triangulation for Earcut (which was hella easy), a more robust implementation that will return more valid triangulations (again resulting in less use of the stencil buffer)."}}