WyllisMonteiro Posted September 20, 2018 Share Posted September 20, 2018 I use PIXIJS to add effect on image. I already use adjustementFilter() and it's work well but with convolutionFilter() i get error. Code : <!DOCTYPE html> <html> <head> <title></title> <script src="pixi.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pixi-filters.js"></script> <script> var filterEffect = new PIXI.filters.AdjustmentFilter(); var filterSharpen = new PIXI.filters.ConvolutionFilter(); </script> </head> <body> </body> </html> Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 20, 2018 Share Posted September 20, 2018 Most of the time its the problem with amount of "texImage2d" calls. According to the source.. https://github.com/pixijs/pixi-filters/blob/master/filters/convolution/src/convolution.frag#L11 Yes, there's no way to lower that. Which error do you get? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.