跳至主要内容

Download

UIFX - Blur Filter is available for download from the Unity Asset Store.

Rating / Reviews ★★★★☆

Once you've tried this asset, we would really appreciate your rating / review on the Unity Asset Store.

Release Notes

1 July 2024 - Version 1.7.4

Breaking Changes

  • The blur algorithm has changed slightly so any existing blurs in your project will be roughly half the size. To fix this your existing Blur property values for Blur Filter, Drop Shadow Filter, Outline Filter and Gooey Filter should be doubled.

Added

  • Blur Filter now has multiple blur modes - added Box and Gaussian blur algorithms. The default algorithm remains unchanged and is now exposed as MultiBox. See updated documentation for details.

Improved

  • Major performance improvements to Blur Filter for large blur radius.

Changed

  • MultiBox blur changed from 3 to 2 passes resulting in a performance increase. This affects all filter components that use blurs internally.
  • Filter Stack TextMeshPro now renders to a non-floating point texture format on Mobile devices resulting in a performance increase.
  • Demo scenes refactored and now use Prefabs.
  • Some refactoring and general code improvements

Fixed

16 June 2024 - Version 1.7.3

Improved

  • Added optimisation to call GenerateScreenRect() less often.
  • Removed some unnecessary GetComponent() calls.
  • Changed to more correct method to get parent Canvas.

Fixed

6 June 2024 - Version 1.7.2

Fixed

31 May 2024 - Version 1.7.1

Added

24 May 2024 - Version 1.7.0

Added

  • Added "Convert To Image" button to automatically bake all the filters into a texture and replace them with a RawImage component. This is a beta feature and must be enabled in UIFX preferences.

Fixed

  • Fixed some compiler warnings.
10 May 2024 - Version 1.6.9

Added

  • Added support for Canvas.vertexColorAlwaysGammaSpace for TextMeshPro rendering
  • Added support for TextMeshPro.tintAllSprites for TextMeshPro rendering

Fixed

3 May 2024 - Version 1.6.8

Fixed

  • Fixed incorrect rendering of filters when Graphic has user defined material
  • Fixed bug where Prefab view wouldn't render filters due to null Canvas
  • Fixed bug where changing hierarchy could use incorrect Canvas in filters
  • Fixed bug where undo could cause null exception in filters
30 April 2024 - Version 1.6.6

Improved

  • Several optimisations for memory usage, code performance and garbage reduction

Fixed

  • Fixed rare bug in filter rendering logic, where mid-frame dynamic font texture update would cause mesh regeneration, which would cause incorrect rendering due to optimisation that prevented multiple renders per-frame
24 April 2024 - Version 1.6.4

Improved

  • UIFX - Blur Filter Global Strength property now updates in edit-mode and has a new public method for access via Unity's event system "dynamic float"
  • Text Mesh Pro text rendering is now pixel perfect in orthographic camera mode
  • Some minor script optimisations

Fixed

  • Fixed Blur Filter radius being too small in some cases
  • Fixed Text Mesh Pro sprite rendering blend mode
20 April 2024 - Version 1.6.2

Improved

  • Clearer TextMeshPro filter rendering
  • All Strength property sliders improved to change color when activated
  • Shader code cleaned up
  • Tested with SoftMaskForUGUI

Fixed

  • Fixed support for Mask/RectMask in all filters
  • Fixed null exception when adding filter to GameObject without Graphic component
16 April 2024 - Version 1.6.0

Highlights

  • Massive performance improvements across all filters
  • Many TextMeshPro issues fixed and improvements

Performance

  • Eliminated redundant per-frame filter rendering
  • Added per-platform performance settings to allow lower pecision and downsampling to be used on some platforms
  • Blur Filter performance improved due to smaller area processed
  • All property changes are now checked for changes and only trigger minimal rendering
  • Editor preview no longer renders every frame, now only when rendering changes

Improved

  • FilterStackTextMeshPro now ignores empty placeholder vertices and updates whenever camera/transform changes and has a handy dropdown of the filter list to make adding filters easier
  • More accurate projection matrix region calculations
  • World-space canvas support improved
  • Added support for SVGImage (part of com.unity.vectorgraphics) component and other UI components that have Graphic.useLegacyMeshGeneration enabled

Changes

Fixed

  • Fixed TMP sprite rendering material
  • Fixed TMP rendering blurry due to not setting the ScreenParams
  • Fixed issue when no World Space camera was assigned, no defaults to Camera.main
  • ZTest shader mode now set via variable so Unity rendering can control it - previously was forcing ALWAYS
4 April 2024 - Version 1.5.6

New

  • TextMeshPro is now supported by all filter effects!!
  • Filters (Blur, Outline, Drop Shadow etc) now support TextMeshPro through the new component UIFX - TextMeshPro Filters. This component also alows easy filter reordering and supports TMP sprites and underlines.
  • New project preferences menu exposes plugin options
30 March 2024 - Version 1.5.4

Improved

  • Some minor general code improvements

Fixed

  • Fixed issue where filter wouldn't run when textures were too large, maximum texture size is now limited
  • Fixed bug where resolution-indepdenent scale would be calculated incorrectly sometimes
  • Fixed bug where enum property sometimes wouldn't be saved correctly
  • Fixed bug where changing the transform wouldn't cause the filter to re-render
19 March 2024 - Version 1.0.8

New

  • Added stereo render (VR) support thanks to PedroB.
  • Added new feature to preview filter in the Inspector and option to export to PNG image
  • Added new API method FilterBase.SaveToPNG() in to write filter output to PNG
  • Added new API method FilterBase.ResolveToTexture() to resolve filter output to RenderTexture
24 February 2024 - Version 1.0.6

Breaking Changes

  • The scale of the blur radius has changed so all blur radius values will need to be adjusted to pixels. This is because we have improved the resolution-independent calculation and made the blur radius scale more intuitive. The radius is now in pixels relative to 1080p resolution.

Changes

  • Major refactoring to clean up the code
6 January 2024 - Version 1.0.5

Fixed

  • Fixed support for Overlay and Worldspace Canvas modes
  • Fixed support for perspective Camera
3 January 2024 - Version 1.0.4

New

  • Added support for Animation Clips so the blur properties can now be keyframed in Unity
  • Added support for Camera rotation
  • Added support for Canvas in Overlay rendering mode
  • Added new ApplyAlphaCurve property to more easily toggle using the alpha curve or not

Improved

  • Changing Canvas now handled gracefully
  • Optimized Compositor
29 December 2023 - Version 1.0.2

New

  • Added new GlobalStrength property to globally scale the Strength of all blur filters.
  • Added code documentation

Improved

  • Better performance for Unity 2020.1 and above due to already being pre-multiplied

Fixed

  • Fixed vertex colors in Gamma color space
  • Fixed issue where saving caused the blur to not be visible
  • Fixed issue where deleting the component caused null exception
  • Fixed issue where shaders couldn't be found on build
  • Fixed issue where texture didn't resize when resolution changed
22 December 2023 - Version 1.0.0
  • First release