{"action":"created","issue":{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/19","labels_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/19/comments","events_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/19/events","html_url":"https://github.com/ProjectSeptemberInc/gl-react-native/issues/19","id":110898953,"number":19,"title":"`discard` statement","user":{"login":"ptmt","id":1004115,"avatar_url":"https://avatars.githubusercontent.com/u/1004115?v=3","gravatar_id":"","url":"https://api.github.com/users/ptmt","html_url":"https://github.com/ptmt","followers_url":"https://api.github.com/users/ptmt/followers","following_url":"https://api.github.com/users/ptmt/following{/other_user}","gists_url":"https://api.github.com/users/ptmt/gists{/gist_id}","starred_url":"https://api.github.com/users/ptmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptmt/subscriptions","organizations_url":"https://api.github.com/users/ptmt/orgs","repos_url":"https://api.github.com/users/ptmt/repos","events_url":"https://api.github.com/users/ptmt/events{/privacy}","received_events_url":"https://api.github.com/users/ptmt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/labels/feature","name":"feature","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T02:17:10Z","updated_at":"2015-10-12T14:24:02Z","closed_at":null,"body":"> It is possible to tell the fragment shader it shouldn't write any pixel. This can be done using the \"discard\" statement.\r\n\r\nhttps://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/discard.php\r\n\r\nThe desired behavior: https://www.shadertoy.com/view/XlBXRy\r\n\r\nThe same (?) code on Rnplay.org which doesn't work as expected (maybe it shouldn't?): https://rnplay.org/apps/PUJnuw\r\n"},"comment":{"url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/comments/147412356","html_url":"https://github.com/ProjectSeptemberInc/gl-react-native/issues/19#issuecomment-147412356","issue_url":"https://api.github.com/repos/ProjectSeptemberInc/gl-react-native/issues/19","id":147412356,"user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T14:24:02Z","updated_at":"2015-10-12T14:24:02Z","body":"Also on the RNPlay example, it's weird that it black-blinks, do you also get this in the phone?"}}