✨ UNI VFX
- UNIversal visual effects for Unity URP
- Uses highly performant GPU particle systems made in Visual Effect Graph.
- Super easily customisable VFX without the need to ever enter the Visual Effect Graph Editor.
- Includes custom Dissolve/Materialize shader made in Shader Graph which has customizable 'direction'.
- Uses (VFX) Events - one Game Object stores multiple effects which can be triggered via C# or Visual Scripting.
- A total of 24 Events (not including 'stop' events). Full content breakdown in the 'Technical details' below.
❓ What are (VFX) Events?
Think of the Wormhole effect, for example. It has these events/effects: create, loop, hit, end and stop. In this case, you start with the 'create' event, which then automatically continues with the 'loop' event. Each time something enters the Wormhole you send the ‘hit’ event that displays the corresponding effect. When the Wormhole expires, send an ‘end’ event that plays the final effect and stops the ‘loop’.
✔️ Let's have a look at the details:
- Important properties are exposed so you can change color, spawn rate, pattern texture etc. directly in the Inspector.
- Uses HDR colors - in combination with Bloom (Post Processing Effect), you have full control over the glow amount.
- Simple meshes can be used directly in the Visual Effect so you don’t need additional code to animate the dissolve or materialize effect and the shader is applied automatically. For mor complex (or animated) meshes, a simple script is available.
- Dissolve/Materialize shader uses texture gradient to control direction of the effect. You can prepare this texture in Photoshop (or any other similar program) to make your character materialize in, for example, from her feet to her chest to her hands. You can also use general patterns which are included.
- The main shader uses vertex animation, overlay texture and few other tricks to further enhance the effect.
- 1k textures with few exceptions used for tiny elements like sparks, embers etc.
- CPU events and small C# code (included) handle lights in prefabs.
- Works with Orthographic projection.
⚙️ Requirements
Requires Unity 2021.3 or newer with Visual Effect Graph and Shader Graph. Install those via Package Manager before installing this Pack. If you just installed them, restart the editor before installing the VFX pack.
Works in URP. Visual Effect Graph has limited compatibility with mobile devices (including WebGL platform).
Dissolve/Materialize shader supports: albedo, normal map, metalic and smoothness, ambient occlusion and emission. It doesn’t support transparency.
If the VFX doesn't show up, it needs to be recompiled. This can be easily fixed by opening the VFX assets in UNI VFX\Dissolve & Teleport\Visual Effects. When opened in the Visual Effects Graph, the assets are forced to recompile. This should be fixed in Unity 2022.3.6 and newer.
Please don’t forget to rate this asset and write a review! It helps me improve a lot. I really want these packs to be the best they can be.