OneSillyLion Posted November 22, 2018 Share Posted November 22, 2018 In phaser 2, I applied to an image two filters to make a blurred image (Blur X and Blur Y, with the two of them a complete Blur). I wanted to use the same filter system to apply this two shaders, but I don't find the filter class anywhere. But I found the Pipeline system, so I combined both blurs and made this complete blur shader. Everything fine now. My questions are... There is some way to apply two pipelines in one image/sprite? and, There is an alternative for filters in phaser 3? Link to comment Share on other sites More sharing options...
webcaetano_ Posted November 27, 2018 Share Posted November 27, 2018 Could you please share what you did? Link to comment Share on other sites More sharing options...
OneSillyLion Posted November 27, 2018 Author Share Posted November 27, 2018 Of course! The effect is a little ugly right now but only needs a little fixing. I used this reference: https://labs.phaser.io/view.html?src=src\renderer\Custom Pipeline.js And here is the file I used. It's in Typescript, but I think the idea is in there Still, I haven't found an answer to my questions, but I'll write something here if I found something about it Blur.ts Link to comment Share on other sites More sharing options...
SefaBaser Posted February 3, 2020 Share Posted February 3, 2020 I have the same question. Is it any update on this? Link to comment Share on other sites More sharing options...
Recommended Posts