Does anyone know of a very simple 2D pixelshader that will 'soften' up the image, or use a gaussian blur of sort? I have a Guassian Blur shader, but I honestly don't know how to implement it.
But the simplicity of what I'm looking for is like what;s found here: http://www.facewound.com/tutorials/shader1/
They have sharpen, but not soften.
Thanks.
Have a look at the Bloom Sample on this site, it will show you how to intergrate them using a drawable game component.
The answer can be found on the page you mentioned, around three quarters of the way down.
Yes, but for this one, it is more of a diagonal motion blur. I'm looking for something where I can change the 'focus' to an extent, etc.
I'll check out the bloom sample, though. It applies to 2D as well, right?
L337 Ghandi: I'll check out the bloom sample, though. It applies to 2D as well, right?
It will bloom whatever the contents of the current rendertarget (typically the backbuffer) is when the included GameComponent is drawn. We use it in the Vector Rumble mini-game and the Net Rumble starter kit, which are two-dimensional games.
You may also be interested in our Sprite Effects sample.