Filters don't work properly in v5
Dai696 opened this issue · comments
I believe the defaults for how filters work changed since v5
This only happens when you use a custom texture from a baseTexture (to lets say cut out a part of a texture for a sprite.
You can see the default behavior here in v4.8.5
https://www.pixiplayground.com/#/edit/NQfr8fq42KDSDJX2ITubw
and in v5.0.0-rc
Default padding is now 0. Old one was 4. Set filte.padding=4
It will be different a bit, one extra pixel at bottom because different algorithm for rounding rects.
Okay, we should let people know when switching to v5 that its different.
I propose a v4 to v5 gotcha guide.
Thanks @ivanpopelyshev