{"action":"created","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1705","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1705/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1705/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1705/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1705","id":70404533,"number":1705,"title":"Sprites disappear with certain filters?","user":{"login":"Shadowstep33","id":5045126,"avatar_url":"https://avatars.githubusercontent.com/u/5045126?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowstep33","html_url":"https://github.com/Shadowstep33","followers_url":"https://api.github.com/users/Shadowstep33/followers","following_url":"https://api.github.com/users/Shadowstep33/following{/other_user}","gists_url":"https://api.github.com/users/Shadowstep33/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowstep33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowstep33/subscriptions","organizations_url":"https://api.github.com/users/Shadowstep33/orgs","repos_url":"https://api.github.com/users/Shadowstep33/repos","events_url":"https://api.github.com/users/Shadowstep33/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowstep33/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/Filters","name":"Filters","color":"207de5"},{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/WebGL","name":"WebGL","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T12:52:20Z","updated_at":"2015-04-23T23:30:02Z","closed_at":null,"body":"Hello,\r\n\r\nThere is a condition that I'm not fully sure of that makes sprites disappear. When I have a blur filter on a DOC, it works correctly for most of the time. After I play the game I am making for a little bit, the blur filter makes sprites disappear from the DOC. To test this, in the console I tried setting the DOC's filter to null, and everything appears again. \r\n\r\nI noticed this same thing happen with a ColorMatrix filter, except that consistently makes the sprites children disappear. I'm not sure if these two problems are related.\r\n\r\nThe code I use for blur:\r\n\r\n\t        var blur_filter = new PIXI.BlurFilter();\r\n\t        blur_filter.blur = 5;\t\t\r\n\t        container.filters = [blur_filter];\r\n\r\nAs I mentioned, it works most of the time but there is some sort of condition/interaction where if there is a blur filter on container, all of containers children sprites become hidden (but they still have alpha = 1 and visible = true).\r\n\r\nWould appreciate any help, as it is a bit of an eye sore and an obvious bug in gameplay.\r\n\r\nThanks,\r\nShadowstep33"},"comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments/95746856","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1705#issuecomment-95746856","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1705","id":95746856,"user":{"login":"Shadowstep33","id":5045126,"avatar_url":"https://avatars.githubusercontent.com/u/5045126?v=3","gravatar_id":"","url":"https://api.github.com/users/Shadowstep33","html_url":"https://github.com/Shadowstep33","followers_url":"https://api.github.com/users/Shadowstep33/followers","following_url":"https://api.github.com/users/Shadowstep33/following{/other_user}","gists_url":"https://api.github.com/users/Shadowstep33/gists{/gist_id}","starred_url":"https://api.github.com/users/Shadowstep33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shadowstep33/subscriptions","organizations_url":"https://api.github.com/users/Shadowstep33/orgs","repos_url":"https://api.github.com/users/Shadowstep33/repos","events_url":"https://api.github.com/users/Shadowstep33/events{/privacy}","received_events_url":"https://api.github.com/users/Shadowstep33/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T23:30:02Z","updated_at":"2015-04-23T23:30:02Z","body":"Sure thing!\r\n\r\nhttp://jsfiddle.net/ny19tak0/\r\n\r\nIf you uncomment the line that reads \r\n\r\nskill_sprite.filters = [filter];\r\n\r\nthen you can see some strange things happen. It isn't happening exactly how it does in my game, but the child sprite still has some issues (in this example, only half of it disappears for some reason; in the game I am working on, the full sprites are disappearing);"}}