Author Share Posted October 30, 2017 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 More sharing options...
Share Posted October 30, 2017 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 More sharing options...
Author Share Posted October 30, 2017 just asked what this is for as I agree it might be a bad idea to rely on it if it's actually meant for something else. Also if it did set a default resolution you wouldn't need to make any changes globally to your stuff. https://github.com/pixijs/pixi.js/issues/4392 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now