Blur filter: Difference between revisions

From vegard.wiki
Jump to navigation Jump to search
Content added Content deleted
(new page)
 
(No difference)

Latest revision as of 12:42, 28 December 2021

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