• Advertisement
Sign in to follow this  

Blurring an image in a IDirect3DSurface9

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

Is there a way to blur an image in a surface without reducing its size? And also avoiding multisampling.

Share this post


Link to post
Share on other sites
Advertisement
Most blurs mix the two ideas. First downscale, then perform a gaussian blur. You can skip the downscaling if you want, it's just there to improve performance. You'll need your surface to be part of a texture so it can be used as a shader input, and another texture to render to. The PostProcess sample in the SDK does this, as does the HDR Lighting sample for blooming.

Share this post


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

  • Advertisement