Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
O'Reilly Media, Inc. 4/5/2012 Other Displacement Effects Displacement shaders are a fertile area of development. Here is a listing of some of the more interesting effects in this category. You can see a few examples in Figure 3-9. Just a few displacement shaders are: · · · · · · · · · · · · · · Paperfold Pivot Pixelate Splinter Camera Lens Correction Bulge Pinch Ripples Swirl Banded Swirl Bands Tiles Glass Tiles Mirror Once again, I must omit the detailed descriptions of each of these effects. There isn't enough room in this book to cover them all. Blurs Blurs are type of a displacement effect. Rather than being dramatic, like a ripple effect, they tend to be subtler and affect a smaller area. Some of the common blurs are named after the technique used to create the blur. The Gaussian blur and GrowablePoissonDisk effect fall into this bucket. The Gaussian and Poisson algorithms are named after their inventor's surnames, Johann Carl Friedrich Gauss and Siméon Denis Poisson Both Silverlight and WPF have a built-in blur effect. While it is serviceable, you might consider some of the alternative blur algorithms listed below for parts of your interface. Motion blur Motion blur is the apparent streaking of quickly moving objects in a photo or video frame. It is an artifact of camera hardware limitations and appears when to trying to capture a moving object while using a too-slow shutter speed. The graphics industry makes frequent use of this handy effect during post-production work. You'll find it used in computer graphics, video games, traditional and 3D animation and movie special effects. This effect is also called a directional blur. 13