Jump to content
Search Community

PIXI plugin tip

macguffin test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

yeah think you're right I must have been still picking up my adapted pixiPlugin file with this line in it:

 

Sorry for all the confusion

 

if (v.resolution) {
    filter.resolution = v.resolution;

} else {
    filter.resolution = PIXI.settings.FILTER_RESOLUTION;
}
Link to comment
Share on other sites

Hm, I would have expected that Pixi would apply the PIXI.settings.FILTER_RESOLUTION by default to any filters when they're created. 

 

Do you guys see any benefit to having a PixiPlugin.defaultFilterResolution value that it'd use instead of PIXI.settings.FILTER_RESOLUTION? I guess that'd eliminate a dependency on PIXI.settings.FILTER_RESOLUTION which could be a good thing. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...