Blur filter

From vegard.wiki
Jump to navigation Jump to search

Best practices:

  • Scale down before applying filter to increase blur radius
  • Separate into horizontal + vertical passes to reduce number of texture lookups
  • Use hardware filtering to reduce number of texture lookups
  • Make sure blending happens in linear RGB to avoid darkening

See also