Jump to content
  • Advertisement
Sign in to follow this  
zz94303

texture pass for multipass - renderMonkey

This topic is 3411 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!