Today I have two XNA samples fresh out of the oven: a Motion Blur Sample, and Depth Of Field Sample. I figure all of the kids these days wanna add fancy post-processing tricks to their games, right? The motion blur sample shows you how to do camera motion blur using a depth buffer, or full object motion blur using a velocity buffer. The depth of field sample shows you how to do a standard blur-based DOF, a slightly-smarter blur-based DOF that doesn’t blur across edges, and the somewhat more physically accurate disc blur approach.
Get ‘em while they’re hot!
December 6, 2009 at 12:05 AM
[...] Read more [...]
December 30, 2010 at 9:57 AM
It would be nice if these were updated to XNA 4.0… hint, hint