lilsheep Posted May 21, 2015 Share Posted May 21, 2015 getting Uncaught TypeError: Cannot read property 'BloomFilter' of undefined this.stage = new PIXI.Stage(0xAC58FA); this.renderer = new PIXI.autoDetectRenderer( 768, 480 ); document.body.appendChild(this.renderer.view); var filter = new PIXI.filters.BloomFilter(); this.stage.filter( filter); this.loadSpriteSheet(); return this; --- When I type PIXI.filters into the console it returns undefined! WHY : ( The docs don't seem to address this! Quote Link to comment Share on other sites More sharing options...
xdiepx Posted May 21, 2015 Share Posted May 21, 2015 What pixi version are you using? Quote Link to comment Share on other sites More sharing options...
lilsheep Posted May 21, 2015 Author Share Posted May 21, 2015 2.2.5! Should I move to another? Quote Link to comment Share on other sites More sharing options...
lilsheep Posted May 21, 2015 Author Share Posted May 21, 2015 I just updated to the newest version and it still is saying that stage.filters is undefined! Quote Link to comment Share on other sites More sharing options...
lilsheep Posted May 21, 2015 Author Share Posted May 21, 2015 I GOT IT TO WORK! var filter = new PIXI.filters.BlurFilter(); filter.blur = 32; filter.passes = 11; this.stage.filters = [filter]; xdiepx 1 Quote Link to comment Share on other sites More sharing options...
xdiepx Posted May 21, 2015 Share Posted May 21, 2015 You can mark that as answered now lol. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.