TiltShift

Selective focus blur mimicking tilt-shift photography

Props

PropTypeDefaultDescription
intensityrange50Maximum blur intensity at edges
widthrange0.3Width of the sharp focus area
falloffrange0.3Distance over which blur transitions to full strength
anglerange0Rotation angle of the focus line (in degrees)
centerposition{"x":0.5,"y":0.5}Center point of the focus line
dispersionrange0Blurs red and blue by different amounts for a lens-like color fringe outside the focus band; negative swaps the colors
jitterrange0Per-pixel noise on the tap spacing that hides banding at large blur radii

Usage

vue
<Shader>
  <TiltShift
    :intensity="50"
  >
    <Circle />
  </TiltShift>
</Shader>