Jump to content
  • Advertisement
Sign in to follow this  
technology

bluring textures using .fx file[dx8]

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

Advertisement
What do you mean with blur? Are you refering to Texture Filtering? Because Blur is something different in Graphics Programming.. So to prevent unwanted answers..

=)

Share this post


Link to post
Share on other sites
Quote:
Original post by Pipo DeClown
What do you mean with blur? Are you refering to Texture Filtering? Because Blur is something different in Graphics Programming.. So to prevent unwanted answers..

=)


i mean normal texture bluring.doing some kind of fake depth of the field.

Share this post


Link to post
Share on other sites
You would render the scene to a texture, then render a quad with that texture applied on it. For each pixelfragment (pixel shader) you'd take the surrounding pixels and use your formula to calculate the final outputpixel.

For DOF, you'd most probably use the Z in the formula..
To be honest, don't know the exact implementation.. So I can't help you. But do look at nvidia's developers website. You can find a lot of (FX) shaders there.

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!