Skip to content

Fix DropShadowFilter blur resolution on high-DPI renderers - #525

Open
l8888888 wants to merge 1 commit into
pixijs:mainfrom
l8888888:bounty-327-dropshadow-resolution
Open

Fix DropShadowFilter blur resolution on high-DPI renderers#525
l8888888 wants to merge 1 commit into
pixijs:mainfrom
l8888888:bounty-327-dropshadow-resolution

Conversation

@l8888888

Copy link
Copy Markdown

Fixes #327

Summary

  • Add a resolution option to KawaseBlurFilter and pass it into the underlying Pixi filter
  • Propagate DropShadowFilter pixel size and resolution into its internal KawaseBlurFilter
  • Prevent the drop shadow blur pass from accidentally inheriting high devicePixelRatio render target sizes on Retina/iPhone renderers

Validation

  • npm install --ignore-scripts (used because local canvas native install requires system graphics libs)
  • npm run types
  • npm run lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DropShadowFilter low performance on Macs and iPhones

1 participant