わかりやすいUnityゲーム開発解説

EasyCustomVFXUI2 Manual

This manual is also available in Japanese.

The manual for the previous version (V1) is here.

EasyCustomVFXUI (ECVFX/UI) is an asset that bundles basic effects and image processing to make your game look richer.

Requirements

Item

Details

Unity

2022.3 LTS or later (also works on Unity 6). On Unity 6.3 and later, ScreenFX works only with Render Graph (URP Compatibility Mode is supported up to 6.2)

Render pipeline

URP (Universal Render Pipeline) 14.0.12 or later

External packages

None required


For users of the previous version (Easy Custom VFX/UI Ver1)

EasyCustomVFX/UI2 keeps the approach of the previous version and adds a major upgrade: many new effects, better performance, and editor extensions that make it easy even for beginners to add effects.

Almost everything you could do in the previous version is also possible in Ver2, but the system was rebuilt from the ground up, so it is not compatible.

Demo Scenes

Assets/EasyCustomVFXUI2/Demo/ contains a demo scene for each feature. Just open one and press Play to see it in action. You can also open each demo scene from the Welcome window, which opens right after import (you can also open it from Tools > EasyCustomVFXUI > Welcome).

  • DEMO_SpriteFX: A scene that shows all Sprite effects side by side
  • DEMO_UIFX: Demo of Image FX (applying effects to an existing Image)
  • DEMO_UIProcedural: Demo of shapes, gauges and frames drawn with Procedural Image
  • DEMO_LineRendererEffect: Demo of LineRenderer beams and lightning
  • DEMO_Transition: Screen transition demo with one button per preset
  • DEMO_ScreenFX: Demo of effects applied to the whole screen
  • DEMO_Particle_UI / DEMO_Particle_Battle / DEMO_Particle_Background: Particle demos (located in Z.ParticlePack/Demo/)

Everything the demos need is contained in the Demo/ folder (Z.ParticlePack/Demo/ for particles). Once you have checked them, you can delete the whole Demo/ folder, and the shaders and components will keep working.

1. Sprite Shader

You can apply multiple effects to a SpriteRenderer.

Each effect can be turned on and off independently, and effects that are off add no rendering cost at all.

Setting up a Sprite with effects

1. Right-click in the Hierarchy window and add EasyCustomVFXUI > Sprite FX

To use it on a SpriteRenderer that is already in the scene, add EasyCustomVFXUI/ECVFX Sprite Applier from Add Component. Either way, a template material with no effects is assigned from the start.

2. Create a material

By default, a template material with no effects is assigned.

This template is overwritten when the package is updated, so it is read-only (its fields are grayed out).

To make your own effect, click Create Editable Material in ECVFXSpriteApplier.

This creates a new material, and you can then apply any effects you like.

Turn each effect on or off with the checkbox at the right end of its section header. Turning an effect on expands its contents.

To start from a finished look, assign one of the demo materials (from the DEMO_SpriteFX scene) to your sprite and then press Duplicate.

By default, materials are saved to Assets/EasyCustomVFXUIMaterials/.

You can change this in Edit > Project Settings > EasyCustomVFXUI.

Switching between Lit and Unlit

You can switch between Lit and Unlit in ECVFX Sprite Applier.

With Lit, the sprite is affected by Light2D.

Lit reacts to Light2D in the 2D Renderer. With any other renderer, Lit looks the same as Unlit.

Lights affect only the main color (up to Tint). Emission / Shine / Hologram, and the layers drawn underneath such as the outline, Aura and drop shadow, are not lit and keep glowing even in dark areas.

With Lit, a Normal Map field appears under Base (leave it empty for flat lighting).

List of effects

You can stack effects. The more effects you stack, the higher the cost.

BASE

Basic settings.

  • Tint

Multiplies a color onto the base texture.

  • Time Phase

An offset (in seconds) added to the effect time. You normally do not need to change it. When the Phase Mode of ECVFX Sprite Applier is Scaled / Unscaled, this value is overwritten by the Applier's Phase Offset. If several objects use the same effect (for example, many swaying trees) and you want their motion to be out of sync, change Phase Offset on each object's Applier, or turn on Randomize Phase.

  • Sprite UV Rect

The UV range (Min XY / Max XY) that the sprite occupies on the texture.

For a single sprite, leave it at the default (0,0,1,1). Only when you use a Sprite Atlas, add ECVFX Sprite Rect Binder to set it automatically.

Mask

Applies a mask to the sprite.

You can mask the sprite with a rectangle (Rect) cut and a circle (Circle) cut. Both apply at the same time, and Circle Radius defaults to 0.5, so the sprite is cut into a circle as soon as you turn the effect on. To use only the rectangle, set Circle Radius to 1. The mask is applied last, so outlines and drop shadows are cut too.

  • Cut Left / Right / Bottom / Top: How much to cut from each edge (0 to 1). Animate these for gauge-like effects
  • Circle Radius / Circle Invert: A circular cutout. Setting Circle Radius to 1 disables it. Turning on Circle Invert hides the inside instead

UV Expand

Adds padding around the sprite. The image is drawn shrunk toward the center, so the higher Margin is, the smaller the image is drawn (the GameObject's Transform does not change). Use it as a fallback when there is not enough padding for effects that extend outward, such as outlines. For details, see "Effects that extend outside the sprite need padding".

Outline

Adds an outline around the Sprite. You can add a double outline, one inside and one outside.

You can also set a Texture on the outline.

Scrolling the texture adds motion.

  • Alpha Threshold: The alpha value that decides where the edge of the sprite is
  • Softness: At 0 the band is crisp; raising it makes the band fade out both inward and outward (good for glowing edges). Values above 0 increase the sample count
  • Use Gradient: Turns the outline into a gradient. Choose Colors (Low / Mid / High) or Ramp Texture. Color is multiplied, so keep it white to use the original gradient colors
  • Texture Blend: Choose from Multiply / Screen / Mask / Gradient Lookup. A dark texture turns black with Multiply, so use Screen or Gradient Lookup in that case

Drop Shadow

A drop shadow effect.

Raising Blur gives a softer, more natural shadow. On sprites with ECVFX Sprite Applier, the shadow blur is precomputed, so it stays smooth even at large values.

Setting Mode to Blob (Ellipse) creates a round shadow at the feet (the sprite needs padding at the bottom). The default is Silhouette.

  • Color / Offset (px): The shadow color and how far it is offset
  • Spread: Restores the density of the blurred shadow (1 = no change). Has no effect when Blur is 0
  • Blob Center (UV) / Blob Radius (px) / Edge Blur: The position, size and edge blur of the ellipse, used only in Blob mode

Sway

A swaying effect, meant for things like grass and flags.

Sway has two groups of settings: "sway settings" and "mask settings" that choose the areas that do not sway.

Sway settings

Inspector

Description

Strength (px)

Maximum movement of the tip (in texture pixels). 0 disables it completely, so animate this to fade the sway in and out

Speed (cycles/sec)

Wind frequency: back-and-forth cycles per second.
Wind strength is set by Strength

Root Lock (Exponent)

How firmly the root is held in place. The higher it is, the more the root stays still and the sway concentrates at the tip

Turbulence Ratio

0 = clean sine wave, 1 = random, gusty sway. Values in between blend the two

Mask settings for areas that do not sway

Inspector

Description

Mask Source

Sets the mask shape.
Options: Rect/Circle/Texture
Circle uses Circle Center (UV) / Circle Radius (1 disables it) / Circle Invert. Texture uses Mask Texture (R) (white sways, black stays fixed)

From(Left/Right/Bottom/Top)

Sets the mask range.
Sliders from 0 to 1. The side whose value you raise is held fixed (at the default 0, the whole sprite sways). For grass, for example, the part touching the ground should not sway, so raise From Bottom

Edge Softness

Softens the edge of the mask.

External Push (Script) is a constant lean added to the wind (-1 to 1). It lets scripts drive effects such as a character pushing through grass.

The tip of the sway swings toward the transparent padding above the image. Leave transparent padding above the image (without it, the sway is cut off at the sprite's rectangle). Sway works only with SpriteRenderer, not with Tilemap tiles.

Sometimes several objects use the same material, but you want each one to move a little differently.

For example, if every tree in the scene moves exactly the same way, it looks unnatural.

In that case, use ECVFXSpriteApplier to change Phase Offset or turn on Randomize Phase. This gives different motion per object even with the same material.

See Terrain_Grass_1-3 in the DEMO_SpriteFX scene to understand how this is set up.

Twirl

A swirling, rotating effect. Useful for things like being sucked into a warp hole.

  • Angle (deg): The amount of twist at the center. 0 disables it; larger values give a stronger swirl
  • Radius: How far the swirl reaches
  • Falloff Sharpness: How the effect falls off from the center to the edge. Higher values concentrate it at the center
  • Continuous Spin: Any value other than 0 keeps the whole image spinning (negative values spin in reverse)

By using a noise texture for the Sprite, you can create a warp hole like the one below.

Distortion

Applies a distortion that looks like the sprite is under water.

When Auto Flow Speed is greater than 0, the distortion keeps flowing (it flows by default). Set it to 0 to stop it.

Pixelate/Mosaic

Gives the sprite a pixel-art look.

The larger BlockSize is, the coarser the result.

Chromatic Aberration

Shifts the color channels apart. Works well with glitch effects.

Turn on Radial Mode to make the separation grow with distance from the sprite's center, for a more natural-looking chromatic aberration.

Blur(Gaussian)

Blurs the whole image, using a method called Gaussian blur.

Blur takes many samples (25), so it costs more than other effects. Combined with Chromatic Aberration, the cost triples. When the blur radius is 0, it takes only 1 sample.

Glitch

A glitch effect, for footage on a monitor or a bad signal.

Basic settings

Property

Description

Strength (Master)

Overall strength scale. 0 disables it completely.

Constant Level

Amount of glitch applied at all times. At 0, the image is disturbed only during bursts. Raise it for a "hologram that is always broken"; keep it at 0 for "noise that runs now and then".

Band Count (rows)

How many bands the height is split into (2-64). Fewer bands give thick, blocky shifts; more bands give fine, scanline-like shifts.

Band Shift (px)

Maximum horizontal shift per band (pixels). It works in two tiers: all bands shift a little, and only some bands jump far.

Frame Rate (steps/sec)

How often the shift pattern changes (times per second). Low values look like choppy "dropped frames"; high values look like intense flickering.

Seed

Change this to give instances with the same settings different patterns. It does not change the visual strength.

Wrap Around Edges

Wraps parts that move past the image edge around to the opposite side. Only for sprites whose artwork reaches the edge of the image.

Burst settings (a stronger effect occurs at regular intervals)

Property

Description

Interval (sec)

Interval between bursts

Duration(sec)

How long each burst lasts

Strength

Strength of the burst

Inner Line

Covers dark areas with a color, for a gritty, comic-book look. The default Color is black, so turning it on alone does not change the look. Change the color to see the effect.

Dissolve

Creates the appear/disappear effect common in sci-fi. The noise texture changes the look and feel.

  • Progress: 0 shows everything, 1 hides everything. This is the value to animate
  • Noise (R): The noise that decides how the sprite disappears. When empty, it is treated as white, and the sprite vanishes all at once with no pattern. The Use Packaged Noise button assigns the included noise
  • Edge Width / Edge Softness / Edge Color (HDR): A glowing border along the disappearing edge. Outline, shadow and Aura also fade along with Progress

Color Ramp

Replaces colors with other colors.

Set Source to Colors to build a gradient of up to 3 colors.

Set Source to Ramp Texture to assign a texture for the color ramp instead. Use this when you need a gradient with 4 or more colors (Clamp is recommended for the texture's Wrap Mode).

Negative

Inverts all colors. Try it for moments of despair. Strength (0-1) sets how much the colors are inverted. It works well for a brief inversion in an animation.

Emission

Makes the sprite glow.

With a Mask texture, you can make only chosen areas glow (for example, only the accessories). An alpha (opacity) value of about 50-100 is recommended.

Set the Pulse parameters to make it blink.

Property

Description

Speed (Hz)

Number of blinks per second. 0 means no blinking (always on), which is the default. At 0, all the parameters below are disabled (and grayed out in the Inspector).

Min Brightness

Brightness at the low point of each blink (0-1). At 0 the glow goes fully out at the low point; raise it for a "breathing" glow that never fully goes out.

Hard (Strobe)

Off: a soft, breathing sine wave. On: a sharp square-wave blink (strobe).
Turn this on for signal-light style effects.

Duty Cycle

Only used when Strobe is on. The fraction of each cycle that the light is on. 0.5 means half on, half off. Lower values give "a brief flash"; higher values give "almost always on, briefly off".

Shine

Sweeps a band of light across the character. Good for showing rarity and similar.

  • Auto Loop Speed: How fast the band of light moves on its own (default 1). Set it to 0 to control it manually with Progress
  • Color / Angle / Band Width / Softness: The band's color, angle, thickness and edge softness

Hologram

A hologram effect. Good for communications in a sci-fi world.

Base color settings

Property

Description

Color (HDR)

Hologram color. The default is an HDR blue. Alpha scales the color strength.

Color Blend

How the color is applied. 1 (default) = Recolor: keeps only the brightness of the original image and fully replaces its color with this one (light and shade remain, but the original colors are lost). 0 = Multiply: multiplies the original colors by the tint (the original hues remain, but complementary colors turn muddy). Recolor is the default because Multiply tends to produce unintended hues.

Scanline (horizontal stripe) settings

The stripes are based on the normalized UV Y, so they stay attached to the sprite even inside an atlas. The effect has 2 layers, "stripes that darken the sprite" and "glowing stripes added on top", each controlled separately by Intensity and Color.

Property

Description

Density

Number of stripes (how many fit across the sprite's height)

Intensity

How much the stripes darken the sprite. 0 means no darkening.

Color (HDR)

The light color added at the stripes. Alpha is the strength, default 0 (off). Use an HDR color for glowing scanlines.

Width

Thickness of one stripe (as a fraction of the period). Takes effect when Sharpness is raised.

Sharpness

Stripe edges. 0 (default) = soft sine-wave shading. Closer to 1 gives crisp, hard lines, and the thickness set in Width is reproduced exactly.

Gradient

Fades one side of each stripe linearly for a "trailing" look. 0 gives a uniform line, + fades the top side, - fades the bottom side. For afterimages of a scanning bar.

Transparency

How much the stripes also lower the alpha (transparency). At 0 they stay opaque; raise it to make the stripes see-through for a hologram feel (default 0.6). Has no effect when Intensity is 0.

Speed

Stripe scroll speed. Negative values reverse the direction. 0 stops the stripes.

Flicker settings

Property

Description

Strength

How much the brightness drops at random. Applies to the sprite, the scanlines and alpha. 0 disables it.

Speed

How often the flicker updates (times per second). Each value is held and switches in steps, giving the jittery instability of a film projector.

Overlay

Blends a texture over the base sprite.

Parameters

Property

Description

Texture

The scrolling texture. Use a seamless (tileable) image, and always set Wrap Mode to Repeat (with Clamp, the edge pixels are stretched and look smeared). Supports Tiling / Offset.

Area Mask (R)

Black-and-white texture whose R channel sets where the effect appears. It does not scroll and stays fixed to the artwork. When empty, it is treated as white (the whole sprite). To make only a blade glow, prepare a mask with the blade painted white.

Invert Mask

Inverts the mask. One mask can then serve both "blade only" and "everything except the blade".

Color (HDR)

Color multiplied with the texture. With an HDR color in Add mode, it feeds into Bloom. Alpha scales the blend amount.

Scroll Speed (UV/sec)

Scroll speed. X is horizontal, Y is vertical (default Y=0.3, scrolling vertically). Negative values reverse the direction; (0,0) lets you use it as a static decal.

Blend Mode

How the texture is blended (4 modes, below)

Strength

Overall amount. 0 disables it. Animate this value to fade the effect in and out (toggles cannot be animated).

The 4 Blend Modes

Mode

Calculation

Best for

0: Add

Additive

Glowing streaks and energy. The standard way to make Bloom glow with an HDR color. Like Emission, though, it blows out to white when strong.

1: Alpha Blend

Normal alpha blending (draws over)

Opaque patterns, emblems, decals

2: Multiply

Multiply (darkens)

Dirt, scratches, shadow patterns

3: Screen

Screen blending

Light that blows out to white less than Add. It has less effect on pixels that are already bright, so it glows subtly. However, it clamps at 1, so it never reaches the HDR range and does not make Bloom glow (use Add if you rely on Bloom).

Halftone

A halftone effect. Useful for footage shown on a monitor and similar.

  • Strength: 0 disables the effect
  • Dot Size (px): The spacing between dots
  • Screen Angle: The angle of the dot grid
  • Dot Scale / Edge Softness: The dot size multiplier and the edge softness
  • Invert: When on, large dots appear in dark areas
  • Background Color: The color between dots. With alpha 0 it is transparent (default: transparent)

Aura

Shows an aura behind the character. With a color gradient, it can look like the character is wrapped in flames.

Color

Property

Description

Color (HDR)

Aura color. It is HDR, so values above 1 feed into Bloom. Alpha is opacity. When Vertical Gradient is on, this becomes the bottom color.

Vertical Gradient

When on, a two-color gradient along the sprite's height (default off).

Top Color (HDR)

Top color. For flame colors like "yellow at the base, red at the tips". Lower its alpha to make the aura fade out toward the top.

Gradient Shift

Height where the two colors mix 50/50 (default 0.5 = center). Lower values widen the top color's area.

Shape

Property

Description

Width (px)

How far the silhouette expands outward. The base thickness of the aura. 0 removes the whole effect.

Stretch Up (px)

Extra rise upward (default 0). The height varies per column with noise and licks upward over time, so flame tongues of different heights rise up (a Super Saiyan-style aura). The image needs that much transparent padding at the top

Softness

Falloff curve of the edge. 1 is standard. Higher values make the edge softer and fainter; lower values make it closer to a solid fill.

Wobble

Property

Description

Distortion (px)

How much noise warps the outline. 0 means no wobble (a static outline).

Noise Source

Source of the wobble. Procedural (built-in value noise, default) / Noise Texture (a grayscale texture you provide)

Noise Texture (R)

Shown only in texture mode. Uses the R channel.
Wrap Mode must be Repeat. Seamless, uniform noise (Perlin / FBM type) works well. Tiling / Offset sets the tile count independently on X and Y.

Noise Scale

Shown only in procedural mode. How fine the wobble is (higher values tremble more finely).

Flow Speed

Speed at which the noise flows upward. At 0 the distortion stays still. The main source of the rising-flame feel.

Noise textures

To customize noise-based effects, you need noise textures.

This asset includes sample noise textures at the following path.

Assets/EasyCustomVFXUI2/Texture/Noise

You can also create as many noise textures as you like for free with my Free Game UI Assets.

The noise texture changes the look a lot. Swap textures and try out different looks.

Notes on using the Sprite Shader

Effects that extend outside the sprite need padding

Outline (outer), Aura and Drop Shadow cannot draw outside the sprite's own rectangle

(also, Blur samples outside the rectangle, so without padding the image edges look faded out).

To use effects that extend outside the sprite, leave padding in the source image, and in the sprite's import settings

set Mesh Type to Full Rect.

The default Tight cuts transparent areas out of the mesh, so effects get clipped partway.

If you cannot re-export the artwork, a fallback is to turn UV Expand on.

It creates padding by shrinking the sprite toward its center when sampling, and as a result

the image is drawn smaller (at the default Margin of 0.25, it is half size).

Controlling effects from scripts

To change a sprite's effects from a script, use ECVFX Sprite Applier.

This component overrides values through a MaterialPropertyBlock, so the material stays shared and is not duplicated. However, a SpriteRenderer with a MaterialPropertyBlock is excluded from 2D batching. When sending the same values to many sprites, setting them on the material itself is faster.

Specify the parameter to change with ECVFXSpritePropertyIDs. It is a constants class listing the shader parameter names (it does not include the effect on/off toggles). Unlike writing strings directly, name mistakes are caught at compile time.

You can look up parameter names in either of these ways.

(1) Inspector tooltips - Hover over an item, and the end of its description shows something like Script: EmissionColor (this applies to number, color and checkbox items, not texture slots or dropdowns). Use this name as is (the shader: _EmissionColor in parentheses is the shader's internal name, used for example when animating directly from an Animation clip)

(2) Reference - Assets/EasyCustomVFXUI2/Manual/Reference/Sprite.md has a table of all parameters.

Here is a sample script that controls effects from code.

using System.Collections;
using UnityEngine;
using EasyCustomVFXUI.Sprite;

public class CharacterEffects : MonoBehaviour
{
    [SerializeField] ECVFXSpriteApplier _applier;

    // Example call: StartCoroutine(DamageFlash());

    /// Damage flash: glow red, then quickly fade back
    /// Note: turn on Emission on the material beforehand
    public IEnumerator DamageFlash()
    {
        Color flash = new Color(1f, 0.2f, 0.2f, 1f);

        for (float t = 0f; t < 0.25f; t += Time.deltaTime)
        {
            // For Emission, the color's alpha is the strength. Replace the whole color
            flash.a = 1f - t / 0.25f;
            _applier.SetColor(ECVFXSpritePropertyIDs.EmissionColor, flash);
            yield return null;
        }
        flash.a = 0f;
        _applier.SetColor(ECVFXSpritePropertyIDs.EmissionColor, flash);
    }

    /// Discard all overrides and return to the material's own values
    public void ResetAll() => _applier.ClearOverrides();
}

You cannot turn individual effects on or off at runtime.

This is a limitation of how Unity shader keywords work.

To animate an effect, leave its toggle on and animate its strength parameter from 0.

Choosing how shader animation time advances

The Phase Mode of Sprite Applier (inside the Time Phase foldout) selects the time base for animated effects.

Mode

Behavior

Scaled

Time.timeScale applies (default)

Unscaled

timeScale = 0: keeps running even while the game is paused this way

Manual

Does not advance on its own. Drive it with SetFloat(ECVFXSpritePropertyIDs.Phase, value) or an Animation clip.

To offset the motion of sprites that share a material, set each Applier's Phase Offset (seconds), or turn on Randomize Phase to offset them randomly at start.

Using with Sprite Atlas

A sprite packed into an atlas occupies only part of the atlas's UV range, so by default

effects appear in the wrong place.

When using a SpriteAtlas, add EasyCustomVFXUI/ECVFX Sprite Rect Binder from Add Component.

It passes the sprite's UV range in the atlas to the shader automatically. If you add an Applier to an atlas sprite, the Inspector shows a warning and an Add Sprite Rect Binder button.


2. UI Shader

There are two ways to use effects in uGUI (Canvas).

  • Image FX (ECVFX UI Applier): Applies the same effects as the Sprite Shader to your existing Image / RawImage
  • Procedural Image (ECVFXProceduralImage): Draws shapes, gauges and frames without using images

Image FX (apply effects to an existing Image)

You can apply the same effects as the Sprite Shader to a uGUI Image / RawImage. Turning each effect on/off, the look of the Inspector, and starting from a template all work the same way as in the Sprite Shader. The demo is in the DEMO_UIFX scene.

TextMeshPro is not supported.

Setup

Select GameObject > EasyCustomVFXUI > UI > Image FX to create an object with an Image and an ECVFX UI Applier under the Canvas. (If the scene has no Canvas, a Canvas is created too.)

For an existing Image or RawImage, add EasyCustomVFXUI/ECVFX UI Applier from Add Component. If it still uses Unity's default UI material, a template material with no effects is assigned automatically. If it already has its own material, the Applier does not overwrite it, so press the Apply Packaged Template button on the Applier.

The first material is a read-only template. As with the Sprite Shader, press Create Editable Material on ECVFX UI Applier to create and assign your own material, so you can edit every effect. By default it is saved to Assets/EasyCustomVFXUIMaterials/.

Image does not show its material in the default Inspector, so the Applier shows the material's Inspector (the list of effects) below its own Inspector. Turn effects on/off and adjust them there.

For what each effect does and its parameters, see the effect descriptions in "1. Sprite Shader".

Differences from the Sprite Shader

  • Colors are not HDR; they range from 0 to 1. Post-processing (Bloom) does not apply to a Screen Space - Overlay Canvas, so values above 1 only blow out to white
  • There is no Lit / Unlit switch (Light2D cannot be used)
  • Sprite UV Rect / UI Rect are written automatically by the Applier, so they are grayed out in the Inspector. You do not need ECVFX Sprite Rect Binder, even for sprites in a Sprite Atlas
  • Values set in px are in texels of the original sprite. If you draw the Image larger, they scale up with it (only the Halftone Dot Size uses RectTransform units)
  • For effects that extend outside the image, the Applier enlarges the mesh automatically instead of you adding padding to the image (see below)

Padding for effects that extend outside (Mesh Padding)

Outline, Aura, Drop Shadow, Blur and similar effects draw outside the rectangle. For an Image with Image Type set to Simple (with Use Sprite Mesh off) and for a RawImage, the Applier enlarges the mesh automatically by as much as needed. The RectTransform and layout do not change, but leave room for the part that extends outside.

You can adjust this with Mesh Padding on ECVFX UI Applier.

  • Auto: Calculates the padding automatically from the material settings (default)
  • Manual: Uses the padding you enter (L / B / R / T). When you animate something continuously, such as the Outline width, enter a generous value so the mesh does not have to be rebuilt
  • Off: Does not enlarge the mesh. The effect is cut off at the RectTransform rectangle

For effects that the automatic calculation does not cover (Drop Shadow in Blob mode, Twirl, and so on), or when the padding is not enough, use UV Expand in the material.

Support by Image Type

  • Simple / RawImage: All effects can be used
  • Sliced / Tiled: Mask / Dissolve / Emission / Shine / Hologram / Overlay / Halftone can be used. Twirl / Distortion / Pixelate / Chromatic Aberration / Blur / Glitch / Outline / Aura / Drop Shadow read neighboring pixels, so they break at the 9-slice seams and cannot be used. If you turn one on, the Inspector shows a warning and a Set Image Type to Simple button
  • Filled: Both groups of effects above can be used, but padding is not added automatically (effects are cut off at the rectangle). Use UV Expand

Controlling effects from scripts

Use the SetXxx methods of ECVFXUIApplier, such as SetFloat / SetColor. Specify parameters with ECVFXUIPropertyIDs (the names are the same as in ECVFXSpritePropertyIDs). Values are written to a copy of the material used only by that Image, so neither the material asset nor other Images change. ClearOverrides() discards all overrides.

using System.Collections;
using UnityEngine;
using EasyCustomVFXUI.UI;

public class IconDissolve : MonoBehaviour
{
    [SerializeField] ECVFXUIApplier _applier;   // Turn Dissolve on in the material beforehand

    public IEnumerator DissolveOut(float seconds)
    {
        for (float t = 0f; t < seconds; t += Time.deltaTime)
        {
            _applier.SetFloat(ECVFXUIPropertyIDs.DissolveProgress, t / seconds);
            yield return null;
        }
        _applier.SetFloat(ECVFXUIPropertyIDs.DissolveProgress, 1f);
    }

    /// Discard all overrides and return to the material's own values
    public void ResetAll() => _applier.ClearOverrides();
}

You cannot turn effects on or off (keywords) at runtime. Leave the toggle on and animate the strength parameter instead.

Animating with Animation / Timeline

Because Image is not a Renderer, you cannot key a uGUI material directly from the Animation window. Instead, put the values you want to key in fields of your own component, and pass them to the Applier every frame.

using UnityEngine;
using EasyCustomVFXUI.UI;

[ExecuteAlways]
[RequireComponent(typeof(ECVFXUIApplier))]
public sealed class UIFXTwirlKey : MonoBehaviour
{
    [Range(-1080f, 1080f)] public float TwirlAngle = 180f;   // Field to Record in Animation

    ECVFXUIApplier _applier;

    void LateUpdate() => Push();                    // Pass the value after Animator / Timeline
    void OnDidApplyAnimationProperties() => Push(); // Updates the view when scrubbing in Edit Mode
    void OnDisable() { if (_applier != null) _applier.ClearOverrides(); }

    void Push()
    {
        if (_applier == null && !TryGetComponent(out _applier)) return;
        _applier.SetFloat(ECVFXUIPropertyIDs.TwirlAngle, TwirlAngle);
    }
}
  1. Add this component to the same Image as the Applier. Turn Twirl on in the material
  2. In the Animation window (or an Animation Track in Timeline), press Record and change Twirl Angle

To key a different value, change the field and the SetFloat target. Match the type to the shader (SetFloat for float, SetColor for Color). The included Demo/DemoScript/ECVFXDemoUIFXAnimationSample.cs is this sample.

Procedural Image (draw shapes without images)

ECVFXProceduralImage draws shapes with an SDF (signed distance function) instead of a sprite.

You need no texture, no 9-slice and no import settings. Even when you resize the RectTransform, corners, outlines and

dashed lines always stay sharp.

This component replaces Image, so you cannot add it to a GameObject that already has an Image. To apply effects to an existing Image, use Image FX above.

Using Procedural Image

From GameObject > EasyCustomVFXUI > UI >, you can create a preset under the selected object:

Rounded Rect / Circle / Polygon / Star / Ring Gauge / Parallelogram / Dashed Frame / Rotating Outline.

It is created under a Canvas. If the selected object is not inside a Canvas, it is created directly under a Canvas in the scene. If the scene has no Canvas, a Canvas is created automatically.

Everything is done in a single Inspector.

The component creates and owns its material, so you do not need to assign or duplicate anything before editing.

Effect: Shape

You can choose from the following shapes.

RoundedRect

A rounded rectangle.

Turn off Link on Corner Radius px to set the roundness of each corner separately (Left Top / Right Top / Right Bottom / Left Bottom).

You can also make shapes like the following. Their size and form can be set with parameters

Effect: Progress

Sets how much of the shape is filled. It works like a Slider.

  • Mode: Choose from None / Horizontal / Vertical / Radial. The default is None, and with it, changing Amount does nothing
  • Amount (0-1): How much is filled. This is the value you animate from scripts or animations
  • Start Angle: The angle of the start position, used only for Radial
  • Reverse: Reverses the direction in which the fill grows

The shape does not shrink; the area beyond Amount is cut away. The drop shadow is cut along with it. Use a parallelogram with Horizontal for a slanted HP bar, or a Ring (or Circle) with Radial for a cooldown display.

Effect: Fill

Sets the color or pattern that fills the shape.

Solid

Linear Gradient

Radial Gradient

Stripe

Grid

Checker

Dots

TextureStamp

Tiles any texture you choose

Effect: Outline/Dash

Adds an outline.

If you assign a texture to the outline and scroll it, you can make an animated outline like the one below.

Check Dash to turn the outline into a dashed line.

You can also add a double outline with Inner and Outer.

Effect: DropShadow

Adds a shadow drawn behind the shape.

You can also blur the shadow.

Effect: InnerShadow

Adds a shadow inside the shape. It works well for buttons that look raised.

Effect: Blur

Blurs the shape.

Raise Blur px to blur the edge over a wider area.

Controlling Procedural Image from scripts

To change a Procedural Image from scripts, you do not need any extra component. You can set the properties of ECVFXProceduralImage directly.

You can look up parameter names in either of these places.

  • Inspector tooltips: Hover over an item, and the end of its description shows something like Script: StarRatio. Use that name as is
  • Assets/EasyCustomVFXUI2/Manual/Reference/ProceduralImage.md: Contains a table of all parameters

Sample code

using UnityEngine;
using EasyCustomVFXUI.UI;

public class HudGauge : MonoBehaviour
{
    [SerializeField] ECVFXProceduralImage _hpBar;

    /// HP bar: safe to call every frame
    /// Note: set Progress Mode to something other than None (Horizontal, etc.)
    public void SetHealth(float ratio)
    {
        _hpBar.ProgressAmount = ratio;   // No need to call Refresh()
    }
}

When to call Refresh

After you change parameters from a script, you may need to call Refresh().

What you change

Examples

Redraw

Properties directly on the component

ShapeType / CornerRadii / EdgeSoftness

Automatic

ProgressAmount

Raising or lowering a gauge

Automatic (cheap enough to call every frame)

Values inside a group

Fill.Xxx / Outline.Xxx / DropShadow.Xxx / InnerShadow.Xxx / Dash.Xxx

Refresh() required

A group (such as Fill) is an object that only holds values, so changes to it cannot be detected. That is why you call Refresh() manually. It is most efficient to change several values together and call it once at the end. When you use a Gradient, every Refresh() rebuilds the gradient, so avoid calling it every frame.

ProgressAmount alone is built on the assumption that a gauge updates every frame: it skips rebuilding the vertices and only updates the shader value. When you use it to raise or lower a gauge, you do not need to worry about the cost.

Procedural Image notes and limitations

  • It is for uGUI only. It is a Graphic, so you cannot put it on a SpriteRenderer. For world-space objects,

use the Sprite shader.

  • It creates one material per instance. Instances are not batched together, so it suits decorative uses such as panels and gauges. It is not suited to placing hundreds of copies of the same look.
  • Some parameters only work with certain shapes. For example, RingThickness only has an effect when ShapeType is Ring. The Inspector hides items that do not apply to the current shape, but scripts can change all of them, so make sure the parameter matches the shape
  • `ECVFXProceduralImage` does not add effects to an existing `Image` / `RawImage`. For that, use Image FX above.
  • `Color` tints only the fill. The outline and shadow colors do not change. Alpha fades the whole thing (including the outline and shadow).
  • Outlines, shadows and edge softness are drawn outside the rectangle. The component enlarges its own

mesh, so you do not need to set padding, but leave room in your layout for the part that extends outside.


3. LineRendererEffect

LineRendererEffect lets you apply various effects designed for lines drawn with a LineRenderer.

How to use

You can add one by right-clicking in the Hierarchy window.

From GameObject > EasyCustomVFXUI > Line >, choose Straight / Wave / Zigzag / Arc. If you only want the material, use Assets > Create > EasyCustomVFXUI > Line Material.

StartPoint and EndPoint are created as child objects of the LineRenderer. They become the start and end of the line, so you can draw the line you want.

Line shape settings

You can choose the line shape from four types: Straight, Wave, Zigzag and Arc. You can change the shape and parameter values at runtime for all of them.

Straight

A straight line.

Wave

A wavy line. Raise the Smoothness property to make it smooth; lower it to make the line jagged.

Enter a value in ScrollSpeed to make the line ripple.

Zigzag

Makes a spiky zigzag line.

Arc

Makes a line that curves in an arc. Raise the Arc Height parameter to get a wide arc like a hanging rope.

Other settings of ECVFX Line Drawer:

  • Wave Count / Amplitude: The number of waves and how far they swing. For Arc, Amplitude becomes Arc Height (the height of the arch)
  • End Anchor: Reduces the wave swing at both ends so the line meets the start and end points exactly (0 disables it). The material's Distortion has a setting with the same name, but it is a separate setting
  • Swing Axis: The direction the wave swings. It is always perpendicular to the line
  • Scroll Speed / Use Unscaled Time: How fast the wave travels (Wave and Zigzag only). This is separate from the material's Scroll Speed (texture scrolling)
  • Override Width: When off, the LineRenderer's own width and Width Curve are used

Line appearance settings: Line Standard Shader

EasyCustomVFXUI/LineStandard is a general-purpose shader for LineRenderer / TrailRenderer.

A newly created line material has all effects off. Each effect appears when you set its value above 0: Count for Dash, Progress for Dissolve, and Strength for Distortion / Overlay / Flicker (at 0 the effect is fully disabled).

Editing the material (Create Editable Material)

A newly added line is assigned a template material included in the package. This material is read-only, and its items are grayed out.

Press Create Editable Material in the ECVFX Line Drawer Inspector or in the material's Inspector. The material is duplicated and assigned automatically, and you can edit every item. By default it is saved to Assets/EasyCustomVFXUIMaterials/. You can change this in Edit > Project Settings > EasyCustomVFXUI.

If you first assign a material from Demo/Material/Line/ and then press Duplicate, you can start from that look.

Set the LineRenderer's Texture Mode to Stretch (the shader assumes U runs along the line and V runs across it). Dash Count, Dissolve Sweep and Distortion End Anchor only work correctly with Stretch. Lines created from the menu or with Add Component use Stretch from the start. With any other mode, the Line Drawer shows a warning and a fix button.

Shape

Sets the basic form of the line, such as color and width.

  • Tint (HDR): The line color. Values above 1 make Bloom take effect. The LineRenderer's Color gradient is also multiplied in
  • Thickness: The fraction of the line width taken up by the core
  • Edge Softness: Blur at the edges. Small values look like a laser; large values look like a soft glow
  • Strength: The strength of the whole line. At 0 it disappears completely. This is the value you animate from scripts or animations
  • Time Phase: The phase of time-based effects. When you place several copies of the same line, use it to offset their motion

You can also assign a texture and scroll its UVs.

Use a texture that tiles seamlessly left to right and scroll it to create a moving line.

The example above uses a texture (CC0) from the following site.

Note: The texture used in the GIF above is not included in the asset

Dash

Sets up a dashed line.

Adjust parameters such as Count to change the look of the dashed line.

  • Count: The number of segments along the whole line. 0 gives a solid line. The spacing stays even when the line length changes
  • Drawn Fraction: The fraction of each segment that is drawn. 0.5 makes dashes and gaps the same length; smaller values give a dotted line
  • March Speed: How fast the dashes travel (segments per second). 0 keeps them still
  • Edge Softness: Blur at the ends of each dash. 0 gives a sharp cut

Dissolve

Makes the line dissolve away. Useful for the end of a beam, for example.

Move Progress from 0 to 1 to make the line disappear (0 disables it, 1 makes it fully disappear). If you do not set Noise, the line has no pattern and vanishes all at once near the end, so be careful. If Noise is empty when you raise Progress, a warning appears, and the Use Packaged Noise button assigns the included noise.

Raise Sweep to dissolve along the line. Positive values erase from the start side, negative values from the end side. At ±1 no noise is used, giving a clean wipe.

While the line is disappearing, you can add a glowing edge with Edge Width / Edge Softness / Edge Color (HDR). Set the Edge Color alpha to 0 for a plain fade-out with no edge.

Sweep=0

Sweep=0.5

Distortion

Makes a jagged line that keeps changing shape, like lightning. Re-strike Rate (Hz) sets how many times per second the shape changes.

Raise EndAnchor to pin both ends so they do not move away from the LineRenderer's original points.

EndAnchor=0.2

EndAnchor=0

Overlay

Blends noise or other textures on top of the LineRenderer.

Overlaying a noise texture on the base line gives you a cooler-looking beam.

  • Texture: Modulates the line with its R channel. Mid gray means "no change", and leaving it empty does nothing. When you raise Strength, a Use Packaged Noise button appears
  • Strength: How strong the effect is. 0 disables it
  • Blend Mode: Choose from Multiply / Add / Screen. With Multiply, the dark parts of the noise darken the line and leave gaps. Add and Screen only brighten, so the line never disappears
  • Scroll Speed / Contrast / Tint (HDR): How fast the noise travels along the line, how much the noise is emphasized, and the noise color

Flicker

Makes the line flicker. Layering it on a lightning-style line makes it look even more like lightning.

Rapid flashing can cause discomfort or photosensitive seizures, so take care not to make the effect too strong.

  • Strength: How deep the flicker is. 0 disables it
  • Rate (Hz): The number of flickers per second
  • Pattern: 0 gives a smooth wave (steady pulsing); 1 gives flashes that switch randomly (lightning strobe)
  • Flash Color (HDR): The color added at the peak. Set its alpha to 0 for a pure brightness flicker

Controlling parameters from scripts

Controlling the line's look (ECVFX Line Applier)

To change a line's effects from scripts, use ECVFX Line Applier. Lines created from GameObject > EasyCustomVFXUI > Line > already have it. (If you set up a LineRenderer by hand, add it yourself.)

Specify the parameter to change with ECVFXLinePropertyIDs.

You can look up parameter names in either of these places.

  • Inspector tooltips: Hover over an item, and the end of its description shows something like Script: LineStrength. Use that name as is
  • Assets/EasyCustomVFXUI2/Manual/Reference/Line.md: Contains a table of all parameters

Sample script

using System.Collections;
using UnityEngine;
using EasyCustomVFXUI.Line;

public class BeamController : MonoBehaviour
{
    [SerializeField] ECVFXLineApplier _applier;

    /// Fire the beam: ramp up -> hold -> burn away from one end
    public IEnumerator Fire(float holdTime = 0.6f)
    {
        for (float t = 0f; t < 0.1f; t += Time.deltaTime)
        {
            _applier.SetFloat(ECVFXLinePropertyIDs.LineStrength, t / 0.1f);
            yield return null;
        }
        _applier.SetFloat(ECVFXLinePropertyIDs.LineStrength, 1f);

        yield return new WaitForSeconds(holdTime);

        // Dissolve away from the start side
        _applier.SetFloat(ECVFXLinePropertyIDs.DissolveSweep, 1f);
        for (float t = 0f; t < 0.3f; t += Time.deltaTime)
        {
            _applier.SetFloat(ECVFXLinePropertyIDs.DissolveProgress, t / 0.3f);
            yield return null;
        }

        _applier.SetFloat(ECVFXLinePropertyIDs.DissolveProgress, 1f);   // Stop in the fully disappeared state
    }

    /// Discard all overrides and return to the material's own values (the beam returns to full strength)
    public void ResetAll() => _applier.ClearOverrides();
}

Controlling the line's shape (ECVFX Line Drawer)

The above controls the line's look. The shape of the line itself, such as its start/end points and waveform, is handled by ECVFX Line Drawer.

using UnityEngine;
using EasyCustomVFXUI.Line;

public class BeamAiming : MonoBehaviour
{
    [SerializeField] ECVFXLineDrawer _drawer;
    [SerializeField] Transform _muzzle;

    /// Connect the muzzle and the target (passing Transforms makes it follow them every frame)
    public void AimAt(Transform target) => _drawer.SetEndpoints(_muzzle, target);

    /// To fix it to positions
    public void AimAt(Vector3 from, Vector3 to) => _drawer.SetEndpoints(from, to);

    public void SetLightningShape()
    {
        _drawer.Style     = ECVFXLineStyle.Zigzag;   // Straight / Wave / Zigzag / Arc
        _drawer.Amplitude = 0.4f;
        _drawer.WaveCount = 6f;
    }

    /// Spawn an effect at the impact point
    public void SpawnImpact(GameObject prefab)
        => Instantiate(prefab, _drawer.EndWorldPosition, Quaternion.identity);
}

Set the start and end points with `SetEndpoints()`. There is a version that takes Transforms and one that takes world positions; the Transform version follows them every frame. Read the current positions with StartWorldPosition / EndWorldPosition.

The other Line Drawer settings (Smoothness, Swing Axis, Scroll Speed, and so on) are set in the Inspector. From scripts you can change Style / Amplitude / WaveCount / Phase.

Notes

  • It also works with TrailRenderer. ECVFX Line Applier works as is. However, the Line Drawer and the create menu are for LineRenderer only. Leave Distortion End Anchor at 0 for Trails
  • Set the Wrap Mode of scrolling textures to Repeat. With Clamp, the ends of the line get stretched
  • Do not edit the included template materials directly. Duplicate them with Create Editable Material (or Duplicate) before use. Templates are replaced when the package is updated.

4. Transition (Screen Transitions)

A general-purpose screen transition effect for scene changes and other cuts between scenes.

It draws through a uGUI canvas.

Setup

To use transitions, open the scene where the transition starts,

and add GameObject > EasyCustomVFXUI > Screen Transition.

In the added ECVFXTransitionCanvas, find Presets on ECVFX Screen Transition and assign an ECVFXTransitionPreset that holds the effect you want.

By default, a fade-out / fade-in effect is set.

Then just change the Progress value of this ECVFXScreenTransition from a script, an animation clip or similar, and the transition animates.

Persist Across Scenes is on by default, so the object survives scene loads (DontDestroyOnLoad). You can of course also use it for effects that stay within one scene.

Using ECVFX Screen Transition

You configure transitions on ECVFX Screen Transition.

■Presets

Register transition presets here. [0] is the default and plays when you call Out() / In() with no arguments. If you register several, you can pick one by index from scripts.

Each preset defines a pair of Out and In in advance, and the Out / In animations play exactly as that pair specifies.

To add a preset, right-click in the Project window and choose Create > EasyCustomVFXUI > Transition Preset.

Use the dropdown under Preview in the Inspector to choose which preset the Progress slider previews (the Edit button next to it lets you edit its contents).

■Progress

How far the transition has progressed.

0 is the state before it starts, and 1 is the state after Out has finished.

In Play mode only, you can also play the Out / In animation from the Inspector at any time.

Creating presets and choosing a style

Select the preset you created and choose the type (Fade / Wipe / Tile, etc.) in Style under Out. Only the fields that type needs are shown.

When Use Custom In is off, In (opening) plays Out in reverse. Turn it on to give the In side its own settings (for example, Shape for Out and Dissolve for In).

Every type supports Duration (seconds), Color / Gradient / BackgroundTexture (the color or image that covers the screen), Ease and Use Scaled Time.

The bundled presets are in Assets/EasyCustomVFXUI2/TransitionPreset/, split into 3 folders: Standard (Out and In are the same), Distortion (distortion types) and Mixed (Out and In differ).

TransitionPreset types

Fade

A standard fade-out and fade-in that changes alpha. You can use any background by setting Color or BackgroundTexture.

Wipe

A wipe that covers the screen from one edge to the other.

■WipeMode

Straight

Wipes with a straight line.

Stripe

A wipe with interleaving stripes.

Blinds

A wipe where bands grow thicker.

Stairs

A wipe where steps rise up like a staircase.

Angle changes the direction. Raise Wave Amplitude for a wavy edge, or Edge Noise for a torn edge (the bundled Wipe_Wave / Wipe_Torn presets).

Tile

Animates Out / In by changing the size of tiles in a geometric pattern.

TileShape (the shape inside each tile) can be one of 4 types: Circle / Square / Hexagon / Checker.

TileOrder is the order in which tiles appear (hidden when TileShape is Checker).

With Simultaneous, all tiles grow from their own centers at the same time.

With Directional, tiles appear one after another along the direction you set.

With Random, tiles appear in random order.

Shape

Animates Out / In by changing the size of a shape such as a circle.

This is the classic "iris in / iris out".

Put any texture in RuleTexture to do an iris in / out with that texture. The texture's alpha defines the shape (opaque areas are cut out, and color is not used). Use an image whose shape is filled in at the center. RuleInvert inverts it.

Radial

A transition that sweeps around in a circle, like a clock hand.

Check RadialReverse to reverse the direction of rotation.

Dissolve

The screen is filled with Color in patches, following a noise (or block) threshold. If Color is black, the screen looks like it is gradually getting darker.

You can also assign any texture to create your own dissolve pattern.

A dissolve works even without a texture. The Dissolve RuleTexture is a black-and-white map read from the R channel, and darker areas are filled first.


The following effects capture the screen at the moment the Out animation starts, and apply the effect to that captured image.

They cannot be used for In. If you set one for In, or call Out when the screen has already started being covered, it is automatically replaced with Fade. Because of the capture, the motion starts 1 frame late.

Twirl (Out only)

Fades out while twisting the screen.

RadialZoom (Out only)

An animation that rushes toward you from deep in the screen. Good for the start of a battle, for example.

Glitch (Out only)

Fades out while applying a glitch. Glitch Mode lets you choose Block or Scanline.

CrtOff (Out only)

An animation like switching off a TV. Good for pachinko-style effects or when a TV screen turns off.

Controlling parameters from scripts

Because an animation runs in between, the processing has to be asynchronous.

All you need is yield return inside a coroutine.

using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
using EasyCustomVFXUI.Transition;

public class SceneChanger : MonoBehaviour
{
    [SerializeField] ECVFXTransitionPreset _preset;

    // Keep the coroutine running even if LoadScene destroys this object
    void Awake() => DontDestroyOnLoad(gameObject);

    public void Change(string sceneName) => StartCoroutine(ChangeRoutine(sceneName));

    IEnumerator ChangeRoutine(string sceneName)
    {
        yield return ECVFXScreenTransition.Out(_preset);   // Cover the screen
        SceneManager.LoadScene(sceneName);                 // Load the scene
        yield return ECVFXScreenTransition.In(_preset);    // Reveal the new scene
    }
}

If you do not want to use coroutines, you can register a completion callback.

ECVFXScreenTransition.Out().OnCompleted(() => Debug.Log("finished covering"));

You can also pass a preset from outside to run the transition with that preset. In that case, write it like this:

using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
using EasyCustomVFXUI.Transition;

public class SceneFlow : MonoBehaviour
{
    [SerializeField] ECVFXTransitionPreset _presetX;   // For A → B
    [SerializeField] ECVFXTransitionPreset _presetY;   // For B → A

    public void GoToB() => StartCoroutine(Change("SceneB", _presetX));
    public void BackToA() => StartCoroutine(Change("SceneA", _presetY));

    IEnumerator Change(string scene, ECVFXTransitionPreset preset)
    {
        yield return ECVFXScreenTransition.Out(preset);
        SceneManager.LoadScene(scene);
        yield return ECVFXScreenTransition.In(preset);
    }
}

Selecting a preset by index

If you register several presets in Presets, you can call them by index from scripts.

yield return ECVFXScreenTransition.Out(1);   // Cover with Presets[1]
SceneManager.LoadScene(sceneName);
yield return ECVFXScreenTransition.In(1);    // Reveal with Presets[1]

If you pass an index that is not set, a warning is logged and the default transition plays. The following APIs are also available:

  • Out(settings) / In(settings): Plays with an ECVFXTransitionSettings passed directly
  • SetDefault(preset): Replaces the default used by Out() / In() with no arguments
  • CutTo(bool): Covers / reveals instantly, with no animation
  • IsPlaying / IsScreenCovered: Checks whether a transition is playing / whether the screen is fully covered

Using UniTask

This package does not depend on UniTask, but if you use UniTask, you can create a new file with the code below to call transitions with async/await.

Save the following as a file named ECVFXTransitionUniTaskExtensions.cs anywhere in your project (for example, Assets/Scripts/). That is all the setup you need.

// ECVFXTransitionUniTaskExtensions.cs

using Cysharp.Threading.Tasks;
using EasyCustomVFXUI.Transition;

public static class ECVFXTransitionUniTaskExtensions
{
    /// <summary>Lets you wait for a transition to complete as a UniTask.</summary>
    public static UniTask ToUniTask(this ECVFXTransitionHandle handle)
    {
        if (handle.IsDone) return UniTask.CompletedTask;
        var source = new UniTaskCompletionSource();
        handle.OnCompleted(() => source.TrySetResult());
        return source.Task;
    }

    /// <summary>Lets you await the handle directly (you can write await ECVFXScreenTransition.Out();).</summary>
    public static UniTask.Awaiter GetAwaiter(this ECVFXTransitionHandle handle)
        => handle.ToUniTask().GetAwaiter();
}

To call a transition, write the following from any class:

using Cysharp.Threading.Tasks;
using UnityEngine.SceneManagement;
using EasyCustomVFXUI.Transition;

public async UniTask ChangeSceneAsync(string sceneName)
{
    await ECVFXScreenTransition.Out(_preset);
    await SceneManager.LoadSceneAsync(sceneName);
    await ECVFXScreenTransition.In(_preset);
}

Other notes

  • When you use it across scenes, place only one, in the first scene. An object with Persist Across Scenes enabled (under Advanced, on by default) is not destroyed when a scene loads. If you also place one in another scene, the one that arrives later is destroyed with a warning. It only works on a root GameObject
  • If you turn `Persist Across Scenes` off, the object is destroyed when a scene loads. The covered state is not carried over, so in the new scene call ECVFXScreenTransition.CutTo(true) and then reveal with In()
  • To start play from a scene in the middle of the flow, that scene also needs an `ECVFX Screen Transition`. Without it, an error is logged and the transition is skipped
  • By default it runs even when `Time.timeScale = 0`. To make it follow game time, turn on Use Scaled Time
  • During a transition (from when covering starts until revealing ends), uGUI input is blocked
  • Drawing happens on a Screen Space - Overlay canvas with Sort Order 9999. It cannot cover Overlay canvases with a Sort Order of 9999 or higher
  • `Add Component` alone does not work. It needs a canvas, so always add it from the menu
  • Called again (same direction): Joins the transition already running. The new settings are ignored
  • Called again (already in the target state): Does nothing and completes immediately
  • Called again (opposite direction): Turns around from the current position. The interrupted one completes with IsCanceled = true

If you do not want to continue after an interruption, check IsCanceled.

var handle = ECVFXScreenTransition.Out();
yield return handle;
if (handle.IsCanceled) yield break;

5. Screen FX

Full-screen effects built on the URP Renderer Feature.

You can apply grayscale / sepia, binarize, negative (color inversion), wavy distortion, glitch, mosaic, blur, radial blur, speed lines and more, like post-processing.

You can stack multiple effects at once.

All parameters can also be controlled at runtime from scripts.

Setup

In the Hierarchy window, right-click and choose EasyCustomVFXUI > Screen FX.

If the Renderer Feature has not been added to your URP renderer yet, a dialog asks whether to add it.

Press Add to set it up automatically.

You can also set up the Renderer Feature from Tools > EasyCustomVFXUI > Add ScreenFX Renderer Feature.

  • Only one enabled ECVFXScreenFX in a scene takes effect (while one already exists, the right-click menu item is disabled. If you place a second one manually, only the one enabled first works, and a warning appears in the Console)
  • By default, the effect applies to all cameras (except Overlay cameras, Preview cameras and Reflection cameras).

To limit it to a specific camera, set Target Camera.

Time-driven effects (glitch, distortion, speed lines, etc.) keep running by default even when Time.timeScale = 0 (for example, while paused). To make them follow game time, turn on Use Scaled Time under Common.

Effects and parameters

Most strength parameters are normalized to 0-1 (the exceptions are Distort at 0-0.3 and Pixelate Cells, a cell count of 0-512), and 0 skips the effect completely

(effects that are off have no rendering cost).

Color

Three kinds of processing are available: Grayscale / Binarize (black and white) / Negative (color inversion).

Grayscale

Set Tone Color to a warm color for a sepia-like look. Good for flashback scenes.

Binarize

Turns the whole screen into two values, black and white. Useful for special-move screen effects.

Negative

Inverts the colors. Flash it for just an instant, such as at the moment an attack hits, to make the move feel powerful.

Distort

Creates a wobbly, warping distortion.

You can adjust the strength, frequency and more of the distortion.

■Distort Mode

Sine

Regular wobble. The whole screen undulates at a steady rhythm.

Noise

Irregular wobble. The amount of wobble varies from place to place.

Both

Irregular unevenness on top of a regular undulation. Good for underwater scenes or heat haze.

Glitch

A glitch effect. Makes the whole screen look like it is malfunctioning.

There are many parameters, so they are explained in detail below.

Look: what the glitch looks like

Parameter

Description

Strength (Master)

Overall strength. 0 turns it off completely. Band Shift, Scanline Jitter, RGB Split and Flicker are all scaled by this value

Band Shift

How far the horizontal bands shift

Band Coverage

Fraction of bands that shift

Band Count (rows)

How many horizontal bands the screen is split into

Scanline Jitter

Fine horizontal jitter on each scanline

RGB Split

Chromatic aberration. Pulls R and B apart to the left and right

Flicker

Brightness flicker across the whole screen

Frame Rate (steps/sec)

Lower values look choppy, like frame-by-frame playback. Higher values give smooth, restless noise

Timing: when the glitch appears on screen

  • Always on: Set Constant Level to 1
  • At intervals: Set Constant Level to 0 and set `Burst Interval` above 0 (the default is 0, which disables bursts, so nothing appears as is)

In both cases, nothing appears when Strength (Master) is 0.

Parameter

Description

Constant Level

Amount shown all the time. 1 means "always broken". Lower this to 0 when you use bursts (at 1 it stays pinned at the maximum and the burst peaks are flattened)

Burst Interval (sec)

Time between bursts. 0 disables bursts

Burst Duration (sec)

How long one burst takes to fade out. It is strongest the moment it fires, then fades out linearly

Burst Strength

Strength of a single burst

Photosensitive seizure warning

Flicker makes the brightness of the whole screen fluctuate. Rapid flashing can trigger photosensitive seizures.

If you raise Flicker and also set a high Frame Rate, a warning appears in the Inspector. When you use Flicker, keep Frame Rate low. We recommend adding a "reduce flashing effects" option to your game and setting Flicker to 0 when it is enabled.

Pixelate

Creates a mosaic-like look.

The smaller PixelateCells is, the coarser the mosaic.

Blur

A Gaussian blur. It blurs the whole screen evenly.

The closer the Blur value is to 1, the stronger the blur.

RadialBlur

A radial blur. Useful for the transition right before a battle, warp movement and similar effects.

Here too, the larger the RadialBlur value, the stronger the effect.

SpeedLine

Everyone's favorite: speed lines (focus lines).

You can set the density, color and more of the speed lines.

■SpeedLineMode

  • Radial

Lines that converge on the center of the screen. Feel the pressure!

  • Linear

Speed lines that stream vertically / horizontally across the screen. Good for high-speed scenes or special-move effects.

Controlling parameters from scripts

You can control each parameter's value from scripts.

To change full-screen effects from a script, write to the properties of ECVFXScreenFX directly. No intermediate component is needed.

ECVFXScreenFX.Instance gets it without holding a reference (it is null until after OnEnable, so use it from Start onward). If you use your own asmdef, add the assembly EasyCustomVFXUI.ScreenFX.Runtime to its references.

You can look up parameter names in either of these places:

  • Inspector tooltips: Hover over a field and its name appears at the end of the description, like Script: GlitchIdle. Use that name as is
  • Assets/EasyCustomVFXUI2/Manual/Reference/ScreenFX.md: Contains a table of all 44 parameters

Sample code

using System.Collections;
using UnityEngine;
using EasyCustomVFXUI.ScreenFX;

public class ScreenEffects : MonoBehaviour
{
    [SerializeField] ECVFXScreenFX _screenFX;

    /// On hit: run a short glitch, then restore
    public IEnumerator DamageGlitch()
    {
        for (float t = 0f; t < 0.3f; t += Time.deltaTime)
        {
            _screenFX.GlitchStrength = 1f - t / 0.3f;
            yield return null;
        }
        _screenFX.GlitchStrength = 0f;
    }

    /// Turn off all effects
    public void ClearAll() => _screenFX.ClearAll();
}

Difference between the two methods

Method

Effect

ClearAll()

Turns off all effects. The tuned values of each effect are kept, so raising the strength again brings back the same look (except Pixelate Cells, which is set to 0 and loses its original cell count)

ResetToDefault()

Resets all parameters to the package defaults (the values right after the component is added). Values tuned in the Inspector are lost, so use it as a starting point when you rebuild an effect sequence

To return to the original look before and after an effect sequence, use Settings to save and restore all parameters at once.

var saved = _screenFX.Settings;   // Save before the effect sequence
// ... effect sequence ...
_screenFX.Settings = saved;       // Write back after the effect sequence

6. Particle

A shader for Unity's built-in ParticleSystem, plus a set of ready-to-use particle prefabs.

Light, smoke, fire, lightning, bubbles, petals, even speed lines: everything is drawn with one shader (`EasyCustomVFXUI/ParticleStandard`). You do not need to hunt for or write a different shader for each look, and every particle is tuned in the same Inspector.

The shader, materials, prefabs, textures and demo scenes are all in Assets/EasyCustomVFXUI2/Z.ParticlePack/. Nothing in this folder depends on anything outside it, so if you do not use particles, you can delete the whole folder without affecting the other features.

One shader, many looks

The 8 particles below use the same motion and differ only in which bundled material is assigned. The shader is the same for all of them.

8 kinds of particles made with one shader

All 54 bundled materials use this shader. Most of the visual difference comes from these 3 settings:

  • Texture: The shape of the particle. 41 textures are included, such as circles, stars, rings, smoke and lightning
  • Blend Mode: How the particle is layered. Switch between Additive to make it glow, alpha blending for smoke and debris, and Multiply for shadows
  • Intensity: Brightness. Values above 1 glow with Bloom

On top of that, you can turn on only the effects you need and stack them:

  • Color Ramp: Colors a black-and-white texture with a gradient (for coloring fire and magic)
  • Mask: Cuts out the shape with another texture
  • Distortion: Warps the image with noise (flickering flames, heat haze)
  • Chromatic Aberration: Shifts the colors apart with chromatic aberration
  • Flash: Makes the particle blink
  • Dissolve: Makes the particle dissolve away along a noise pattern, with a glowing edge
  • Posterize: Quantizes color and transparency into steps for a toon or pixel-art look
  • Custom Data: Varies values per particle using the ParticleSystem's Custom Data

Benefits of this shader:

  • You do not need extra materials just for color variations. The ParticleSystem's Start Color and Color over Lifetime are multiplied directly into the color and transparency. One material can be reused for particles of different colors
  • Any texture format works. Textures whose shape is in the alpha, light textures drawn on a black background, and black-and-white textures all work as they are; just switch Alpha Source
  • Effects that are off cost nothing to render. Effects are turned on and off with shader keywords, so the code for unused effects is not included
  • You can make each particle behave differently without scripts. With the Particle Alpha mode of Dissolve or with Custom Data, each particle changes according to its own lifetime and random values
  • URP only, and no external packages required

Using the prefabs

Z.ParticlePack/Prefab/ contains 47 prefabs, grouped by use. Just place one in the scene and it plays.

UI (9): Tap ripples, pop-ups, sparkles, light streaks and more, for UI effects.

Prefabs for UI

Battle (29): Hits, fire, lightning, explosions, shockwaves, power-ups and more, for battle effects. The image below shows some of them.

Some of the Battle prefabs

Background (9): Rain, cherry blossoms, confetti, clouds, speed lines and more, for background effects that cover the whole screen. The image below shows some of them.

Some of the Background prefabs

You can see every prefab in action in the demo scenes. The demo scenes are in Z.ParticlePack/Demo/.

  • DEMO_Particle_UI / DEMO_Particle_Battle: The prefabs are laid out in a grid and play at regular intervals. Click a cell to view it enlarged
  • DEMO_Particle_Background: View the full-screen prefabs one at a time

The glowing looks assume Bloom. The demo scenes include a Global Volume with Bloom. If particles do not glow in your own scene, see "It does not glow" in the FAQ.

Making your own particles

Build the particle motion with the ParticleSystem modules as usual. For the look, assign a material that uses the EasyCustomVFXUI/ParticleStandard shader to the Material of the Particle System Renderer, and adjust it.

The easiest way to start is to duplicate a bundled material (in Z.ParticlePack/Material/) that looks close to what you want. Do not edit the bundled materials directly. Duplicate them first (`Ctrl+D` in the Project window) and edit the copy. Direct edits are lost when the package is updated.

Shader parameters

The material Inspector is laid out as shown below. Each effect from Color Ramp through Custom Data is turned on and off with the checkbox to the right of its heading. When an effect is off, only its heading is shown.

ParticleStandard material Inspector

Reset to Defaults at the top resets the whole material to its default values. Click the icon at the top right of a section to reset only that section.

Surface

  • Blend Mode: Chooses how the particle is layered. Switching it also adjusts the draw order (Render Queue) automatically
  • Additive: Brightens the background. For light, fire, magic and sparks
  • Alpha Blend (alpha blending): Layers by opacity. For smoke, debris and petals
  • Multiply: Darkens the background. For shadows and dirt. The Render Queue is set one step earlier so it is drawn before Additive light
Blend Mode comparison

Base

  • Texture / Color: The particle texture and color. The ParticleSystem's Start Color and Color over Lifetime are also multiplied in
  • Tiling / Offset: Texture repeat count and position
  • Alpha Source: Chooses where in the texture the particle shape (transparency) comes from
  • Texture Alpha: Uses the texture's alpha as is (default)
  • Luminance: Uses brightness as transparency. Darker areas become more transparent. Choose this to use light textures drawn on a black background as they are
  • Red / Green / Blue: Uses one channel as the shape. The particle color becomes white, and you add color with Color or Color Ramp. You can put a separate black-and-white shape in each of the R, G and B channels of one texture and use it as 3 different particles
  • Intensity: Brightness multiplier. Values above 1 glow with Bloom. The slider goes up to 10, but you can type larger values in the number field
  • Scroll Speed: How fast the texture scrolls (X and Y, in UV units per second). Use it to make fire or smoke look like it is flowing
  • Rotate Speed: How fast the texture rotates (turns per second). 0 means no rotation. The image inside the particle rotates, not the particle itself

Color Ramp

Replaces the particle's brightness with colors from a gradient. You can make fire or magic colors from a black-and-white smoke texture. Right after you turn it on, it uses fire colors (red in dark areas, whitish yellow in bright areas).

Color Ramp effect
  • Source: Chooses how the gradient is made
  • Colors: Makes the gradient from 3 colors (Low / Mid / High) (default)
  • Texture: Uses a wide gradient image. The left end is the color for dark areas and the right end is the color for bright areas. Choose this when you want a gradient with 4 or more colors
  • Low Color / Mid Color / High Color: Colors for dark, middle and bright areas. They are HDR, so colors above 1 glow with Bloom
  • Mid Point: Where Mid Color is placed (0.01 to 0.99)
  • Shift: Shifts the gradient (-1 to 1). Negative values move everything toward the dark-side colors, positive values toward the bright-side colors. Animate it for a look where the color fades as something burns out
  • Blend: How much the gradient color is mixed with the original color (0 to 1). At 1 it is fully the gradient color

The gradient color is multiplied by Color and by Start Color / Color over Lifetime. When Alpha Source is Red / Green / Blue, the brightness used as input is the value of that channel.

Mask

Cuts out the particle shape with another texture. White areas stay and black areas disappear.

Mask effect
  • Mask: The texture used for the cutout
  • Tiling / Offset: Mask repeat count and position
  • Channel: The channel read as the mask (Red / Green / Blue / Alpha, default Red). When the mask texture is white in RGB and has its shape only in the alpha (as many of the bundled particle textures do), set this to Alpha
  • Scroll Speed: How fast the mask scrolls. The particle image stays still and only the mask moves

Distortion

Offsets the UVs with the Distortion (RG) texture to warp the image. Use it for flickering flames or heat haze.

Distortion effect
  • Distortion (RG): The texture that defines the distortion. R is the horizontal offset and G is the vertical offset. Middle gray (0.5) means no offset, so nothing happens with the default gray
  • Tiling / Offset / Scroll Speed: Repeat count, position and scroll speed of the distortion texture. Set Scroll Speed to keep the distortion moving
  • Strength: Distortion strength (0 to 1, default 0.1). Start with about 0.05 to 0.1. If it is too strong, the square outline of the particle becomes visible
  • Distort Base / Distort Mask / Distort Dissolve: Chooses what the distortion applies to. The default is Base (the particle image) only. If you also apply it to Mask or Dissolve, the cutout shape and the dissolve edge waver too

Chromatic Aberration

Chromatic aberration. Shifts R and B outward from the center of the particle.

Chromatic Aberration effect
  • Strength: Width of the shift (0 to 0.2, default 0.02)

This effect shifts the texture's RGB, so it is not visible on textures that are pure white in RGB and have their shape only in the alpha. Use it with textures that have shading in RGB (such as the bundled T_VFX_ShockRing, T_VFX_Ring, T_VFX_Lightning and the smoke textures). It is also not visible when Alpha Source is Red / Green / Blue, because the particle color becomes white.

Flash

Makes the color and opacity blink at a fixed rate. Use it for blinking items or warnings. The Dissolve edge glow blinks along with it.

  • Speed (Hz): Blinks per second (default 2)
  • Min Brightness: Brightness at the low point of the blink (0 to 1). At 0 the particle disappears completely at the low point; raise it for a "breathing" pulse that never fully fades out
  • Hard (Strobe): Off gives a soft sine-wave blink; on gives a sharp square-wave blink
  • Duty Cycle: Only used when Hard (Strobe) is on. The fraction of each cycle that the particle is lit. At 0.5 it is lit and unlit for equal time; lower it for a brief flash

Rapid blinking can cause discomfort or photosensitive seizures, so be careful not to make it too intense.

Dissolve

Makes the particle dissolve away along a noise texture. The dark areas of the noise disappear first, and you can make the dissolving edge glow.

Dissolve effect
  • Noise: The noise texture that defines how the particle dissolves
  • Tiling / Offset: Noise repeat count and position. Lower Tiling makes the particle break apart in large chunks
  • Channel: The channel read as noise (Red / Green / Blue / Alpha, default Red)
  • Scroll Speed: How fast the noise scrolls. The dissolve pattern moves as if flowing
  • Source: Chooses where the dissolve amount (Progress) comes from (see below)
  • Progress: The dissolve amount when Source is Slider. 0 is fully visible and 1 is fully dissolved. It is grayed out when Source is ParticleAlpha
  • Edge Softness: Softness of the dissolve boundary (0.001 to 1, default 0.1). Lower values give a sharp breakup; values near 1 give a soft fade that keeps the noise pattern
  • Edge Width: Width of the glowing band on the dissolving edge (0 to 0.2, default 0.05)
  • Edge Color: Color of the edge glow (HDR, default orange). Colors above 1 glow with Bloom. Set the alpha to 0 to dissolve without a glowing edge
  • Second Noise: Mixes in a second noise to make the pattern repetition less visible. Choose from None (not used, default) / Average / Multiply. Any setting other than None shows the second texture and its Tiling / Offset / Scroll Speed. The second noise also reads the channel selected in Channel

The two Source modes

  • Slider: One material Progress value dissolves all particles at the same time. Drive it with an Animation clip or a script
  • ParticleAlpha: Each particle dissolves as its own alpha goes down. No script or Animation clip needed

When you use ParticleAlpha, set Color over Lifetime so the alpha reaches 0 at the end of the lifetime. Each particle then burns out over its own lifetime. Particles whose alpha does not change are not dissolved.

Posterize

Quantizes color and transparency into steps. It splits smooth gradients into a few color steps for a toon or pixel-art look.

Posterize effect
  • Color Steps: Number of color steps (2 to 16, default 4). Quantizing happens before Intensity is applied, so changing the brightness does not change the number of steps
  • Alpha Steps (0 = Off): Number of transparency steps (0 to 16, default 0 = no quantizing). It is applied last, so fading from Color over Lifetime, Mask, Dissolve and Flash all becomes stepped together

Custom Data

Reads the values of the ParticleSystem's Custom Data module per particle. If you put random values in per particle, each particle looks different even with the same material.

Custom1 of the Custom Data module (a 4-component Vector) is used as follows:

  • Custom1.X: Added to the Dissolve Progress (with either Slider or ParticleAlpha as Source). Use a curve over the lifetime to change when each particle dissolves
  • Custom1.Y: Added to the Color Ramp Shift. Lets you vary the color per particle or change it over the lifetime
  • Custom1.Z / W: Offsets the noise position for Distortion and Dissolve. Use Random Between Two Constants to give each particle a different pattern

When Custom Data is on, the labels of Dissolve Progress and Color Ramp Shift show (+ Custom1.X) / (+ Custom1.Y), so you can see which value each one is added to.

Setup

To read Custom Data, the Custom Vertex Streams of the Particle System Renderer must be set to Position, Color, UV, Custom1.xyzw in that order.

The Custom Data section of the Inspector shows how many ParticleSystems in the open scene (or the prefab being edited) use this material, and their state. If any of them is missing settings, a warning appears; click the Fix Vertex Streams button. This sets the Vertex Streams, turns on the Custom Data module if it is off, and makes Custom1 a 4-component Vector (curves you have already set are not overwritten). Set the values in the ParticleSystem's Custom Data module.

If the Custom Data values stay at 0, the look does not change.

Advanced

  • Render Queue: Draw order. It is normally set automatically to match Blend Mode, so you do not need to change it
  • Enable GPU Instancing: Turns GPU instancing on and off

About noise textures

Black-and-white noise textures work well for Mask / Distortion / Dissolve. Z.ParticlePack does not include noise textures, so use the noise in Assets/EasyCustomVFXUI2/Texture/Noise/ of the main package, or noise made with Free Game UI Assets. If you use Scroll Speed, set the texture's Wrap Mode to Repeat.

Playing from scripts

using UnityEngine;
using EasyCustomVFXUI.Particle;

public class HitEffectSpawner : MonoBehaviour
{
    [SerializeField] ParticleSystem _hitEffect;   // e.g. Prefab/Battle/HitEffect_GlowFlash

    public void Spawn(Vector3 position)
    {
        // Play once at the given position, and destroy it automatically when playback ends
        ECVFXParticleEffectPlayer.PlayOneShot(_hitEffect, position);
    }
}

You can also specify rotation and parent with PlayOneShot(prefab, position, rotation, parent). It returns the spawned ParticleSystem.

If you only want the particle removed automatically when playback ends, add EasyCustomVFXUI/ECVFX Particle Auto Destroy from Add Component. It detects when the particle stops and destroys the GameObject (you can delay the destruction with Extra Delay). Particles with Looping on never stop, so they are not destroyed (a warning appears in the Console).

Notes

  • URP only
  • Designed for 2D sprite and billboard particles. 3D mesh particles and soft particles are not supported

Support

Please send bug reports and requests on Discord.

When reporting a bug, including your Unity version, URP version and steps to reproduce helps us investigate faster.

FAQ

It does not glow

Nothing glows unless post-processing Bloom is working. This package only outputs brightness above 1 (HDR). Turning that into a glow is done by URP's Bloom.

Check these 3 things in order.

  1. Is there a Volume in the scene with Bloom added? (GameObject > Volume > Global Volume, then Add Override > Post-processing > Bloom)
  2. Is `Post Processing` checked on the camera?
  3. Is the color above 1? Raise Intensity in the HDR color picker. At 1.0, it will not glow no matter how strong Bloom is

If Bloom's Threshold is too high, the color is not picked up either. If you are not sure Bloom is working, temporarily lower Threshold to near 0 to check.

Changing ScreenFX values does not change the screen

The ScreenFX Renderer Feature has not been added to the URP Renderer. Click the Add Renderer Feature button in the Inspector (Tools > EasyCustomVFXUI > Add ScreenFX Renderer Feature does the same).

If you use a separate URP Asset for each Quality level, check that the feature is in the Renderer of the URP Asset currently in use.

The Renderer Feature is stored as ECVFXScreenFXFeature inside URP's Renderer Data asset (often in the Assets/Settings folder).

Also check these other causes:

  • Target Camera is set to a different camera
  • There are 2 ECVFXScreenFX in the scene, and one is ignored (a warning appears in the Console)
  • The Renderer Feature is unchecked (an error appears in the Console)