Sign in to follow this  
zz94303

texture pass for multipass - renderMonkey

Recommended Posts

Hi, I am new to GPGPU and I am starting using renderMonkey to speedup my image processing tasks. A simple question - I want to do something in pass0, and the result from pass0 will be the input to pass1. How do I pass the generated texture from pass0 to pass1? any examples? Thanks in advance for any help. zz

Share this post


Link to post
Share on other sites
Add a texture to your project, of the renderable texture type.

Rightclick on the first pass, and select "add render target". Make sure you set it to a correct format and dimensions. Then use it in a texture sampler on the second pass.

Beware of the half texel hell . You might get away from this by setting the sampling filter (double click texture sampler, settings MAG/MIP,MIN filter) to POINT instead of linear.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this