Jump to content

Can you specify a RenderTarget/buffer using PIXI?


toadums
 Share

Recommended Posts

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 A

render 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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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. 

Cheers

Paul

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...