MaskDistortionEffect View on Asset Store (opens in new tab)

Package details

Latest version
1.0.0
Last updated
First released
Unity version
6000.2.2 or later
Package size
10.1 MB
Files
34
Favorites
1
Views in the past week
5

Price tracking

Last checked
Tracked since
Lowest recorded
$4.99 on

Keywords

MaskDistortionEffect

by Viky (opens in new tab)

No ratings yet

  • Price drop

MaskDistortionEffect is a URP 2D shader package with six mask-based distortion effects, enabling easy creation of ripples, swirls, magnification, waterfalls, glass refraction, and pixelation.

Discount -72% Previous price $18.00 Price $4.99

Lowest recorded price

Get 72% off on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for MaskDistortionEffect, 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

MaskDistortionEffect screenshot 1

MaskDistortionEffect screenshot 1

About this asset

MaskDistortionEffect is a customizable URP 2D shader package that includes Seven mask-based distortion effects: Waterfall, Ripple, Magnifier, Swirl, Glass, , Pixelate and Water Reflection Distortion.

All effects are fully adjustable via exposed shader parameters such as strength, speed, tiling, and mask texture.

This package is ideal for a variety of genres, including 2D platformers, puzzle games, visual novels, and UI design, allowing developers to easily enhance visuals, create magical effects, and add dynamic background distortions without writing shader code.

From the publisher's Asset Store listing.

Technical details

In Unity URP 2D, implementing background distortion is usually challenging. The traditional method using _CameraSortingLayerTexture is not robust and may be incompatible with newer Unity versions.

MaskDistortionEffect solves this by employing a double-camera technique:

  1. A second camera is set up to render the background separately.
  2. This camera outputs to a Render Texture, capturing the background content.
  3. The Render Texture is then passed to the distortion shader graph as a texture input.
  4. The shader graph samples the Render Texture and applies distortion effects based on mask textures and shader parameters such as strength, speed, and tiling.

This approach ensures robust, high-quality background distortion effects that are fully customizable and compatible with URP 2D. It avoids limitations of older methods, maintains compatibility with future Unity updates, and offers flexibility for a wide range of 2D game genres.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
6000.2.2f1 Not listed Compatible Not listed

This package is designed specifically for Unity URP 2D (Universal Render Pipeline).

It uses Shader Graph shaders and requires a URP project with the 2D Renderer.

The package does not currently support HDRP (High Definition Render Pipeline) or Built-in Render Pipeline.

HDRP support may be added in future releases.

Please ensure your project uses URP before importing this package.

As listed on the Asset Store.