Sign in to follow this  
lilsheep

Why isn't this filter working?

Recommended Posts

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!

 

 

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.