texture pass for multipass - renderMonkey

Started by
0 comments, last by harveypekar 15 years, 1 month ago
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
Advertisement
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.

This topic is closed to new replies.

Advertisement