toadums Posted June 1, 2014 Share Posted June 1, 2014 Hi there, I am trying to create an image processing app, and what I need to do is chain multiple filters together. For example, I might need to do something like: render filter1 to Arender filter2 to B use both A and B as the input to filter3, giving me the output that I want to render to the screen.Can I do this? I know that I can do something like: image.filters = [filter1, filter2] When I was working in image processing before, using directX, I rendered to something called RenderTargets, and then could pass these in to the next filter... I believe openGL uses FrameBuffers to do this.Is this possible with PIXI? I can give more details if necessary Thanks!Paul Quote Link to comment Share on other sites More sharing options...
xerver Posted June 1, 2014 Share Posted June 1, 2014 You might be able to do this with a complex system of passing render textures into the third shader. At best it would be confusing and inefficient. That being said, there is no native support for passing around FBOs to do complex post-processing effects like bloom. Quote Link to comment Share on other sites More sharing options...
toadums Posted June 12, 2014 Author Share Posted June 12, 2014 Oh wow, I didn't think this post actually got posted (the forums were sort of bugging out). Thanks a lot for the quick reply. That is sort of disappointing - I was really hoping to make it work. I guess I will leave this for right now. CheersPaul Quote Link to comment Share on other sites More sharing options...
d13 Posted June 12, 2014 Share Posted June 12, 2014 Hi toadums, You might want to try something a little lower-level than Pixi, like the excellent gl-modules: https://github.com/gl-modules gl-now is the entry point to those modules. 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.