Jump to content
  • Advertisement
Sign in to follow this  
luasitdown

multi pass

This topic is 4530 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

how does multi pass work? I know it is just render same mesh with different state. but How it work? multi pass == blending or multi pass == setRenderState(D3DRS_ALPHABLENDENABLE,true) ??? if I have multi pass, how I control blending of mult pass?

Share this post


Link to post
Share on other sites
Advertisement
There's no easy way to explain how multipass works. Basically it's just a name for any technique that requires the same mesh/scene to rendered more than once in order to get the desired visual result. One multipass technique could be blending.

For example, if you want to render a terrain with a number of blended textures, but your target graphics card doesn't support this many textures/stages, you can still achieve the result by partially rendering the terrain with a subset of the textures and blending the results of the passes.

As far as I've seen so far with my limited experience, multipass rendering mostly comes into play when your target hardware doesn't support rendering the visual effect you want in one pass (please correct me if I'm wrong). As such, there's little we can tell you about multipass rendering in general. If you're thinking about a specific application (effect/technique) you wish to use multipass rendering for, please post it, since that should make for a more interesing discussion.

Hope this somewhat answers your question.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!