All Projects → Elringus → Spriteglow

Elringus / Spriteglow

Licence: mit
A sprite glow effect for Unity game engine

Projects that are alternatives of or similar to Spriteglow

Proccharvfx
Procedural character generation with Unity Shader Graph and VFX Graph
Stars: ✭ 114 (-91.14%)
Mutual labels:  unity, unity3d, shader, vfx
X Postprocessing Library
Unity Post Processing Stack Library | Unity引擎的高品质后处理库
Stars: ✭ 1,079 (-16.16%)
Mutual labels:  unity, unity3d, shader, unity3d-plugin
Unity Script Collection
A maintained collection of useful & free unity scripts / library's / plugins and extensions
Stars: ✭ 3,640 (+182.83%)
Mutual labels:  unity, unity3d, shader, unity3d-plugin
Unitylibrary
📚 Library of all kind of scripts, snippets & shaders for Unity
Stars: ✭ 1,968 (+52.91%)
Mutual labels:  unity, unity3d, shader, unity3d-plugin
Spritedicing
Unity extension for reusing sprite texture areas
Stars: ✭ 589 (-54.23%)
Mutual labels:  unity, unity3d, 2d, unity3d-plugin
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-95.57%)
Mutual labels:  unity, unity3d, shader
Unityasync
Task and Async Utility Package for Unity. Start co-routines from anywhere.
Stars: ✭ 58 (-95.49%)
Mutual labels:  unity, unity3d, unity3d-plugin
Adamplanereflection
Planar reflection effect from the Adam Interior Environment package.
Stars: ✭ 86 (-93.32%)
Mutual labels:  unity, unity3d, shader
Temporalreprojectionexample
Temporal reprojection example for Unity
Stars: ✭ 82 (-93.63%)
Mutual labels:  unity, unity3d, shader
Grubo
Audio visual experience with Roland Groovebox MC-101 and the Unity game engine
Stars: ✭ 41 (-96.81%)
Mutual labels:  unity, unity3d, vfx
Drawmeshwithmotionvectors
An example showing how to generate per-object motion vectors when using DrawMesh.
Stars: ✭ 65 (-94.95%)
Mutual labels:  unity, unity3d, shader
Shapes2d
Shapes2D for Unity3D - Make simple art assets quickly in Unity
Stars: ✭ 83 (-93.55%)
Mutual labels:  unity, unity3d, 2d
Shadergraph Custom Nodes
🔨 Collection of custom nodes for ShaderGraph.
Stars: ✭ 53 (-95.88%)
Mutual labels:  unity, unity3d, shader
Awesome Unity Open Source On Github
A categorized collection of awesome Unity open source on GitHub (800+)
Stars: ✭ 1,124 (-12.67%)
Mutual labels:  unity, unity3d, unity3d-plugin
Chasingplanes unity3d
A "Missiles" game replica, 2D fun mobile game about avoiding missiles while flying a plane.
Stars: ✭ 42 (-96.74%)
Mutual labels:  unity, unity3d, 2d
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+808.94%)
Mutual labels:  unity, unity3d, shader
Dkvfxsketches
VFX sketches with Depthkit and Unity
Stars: ✭ 74 (-94.25%)
Mutual labels:  unity, unity3d, vfx
4dviewstest
4DViews volumetric video + Unity
Stars: ✭ 71 (-94.48%)
Mutual labels:  unity, unity3d, vfx
Akvj
Demo project for Akvfx (Azure Kinect plugin for Unity)
Stars: ✭ 79 (-93.86%)
Mutual labels:  unity, unity3d, vfx
Unity Abstract Wire
Unity Abstract Wires Effect
Stars: ✭ 83 (-93.55%)
Mutual labels:  unity, unity3d, vfx

Installation

Use UPM to install the package via the following git URL: https://github.com/Elringus/SpriteGlow.git#package or download and import SpriteGlow.unitypackage manually.

Description

The glow effect is achieved using sprite outline in HDR colors (applied via shader) and bloom post-processing.

Glow Intensity Glow Color

For the bloom effect Unity Post Processing Stack (PPS) is used. You can replace it with similar 3rd-party solutions.

The effect is compatible with the Universal Render Pipeline (URP, aka LWRP). Bloom should be configured via URP's own post-processing solution; don't forget to enable HDR in the pipeline asset settings.

Character sprite by Mikhail Pigichka.

FAQ

Can I use the effect with components other than SpriteRenderer (UI Image, Tilemap, etc)?

Not directly (after all, this is SpriteGlow), but it's possible if the component is using a shader similar to sprites (e.g UI objects, tilemaps and other "2D" stuff). For this you will have to create a material based on the Sprites/Outline shader and manually apply it to the component. You can then control all the glow parameters using the material editor. In the project you can find scenes with the examples for applying the effect to UI Button and a tilemap.

Why doesn't the glow appear?

Make sure:

  • A bloom post-processing effect is enabled (you can use any, eg the one from Unity's PPS). Be aware, that universal render pipeline (URP/LWRP) only supports built-in post-processing, third-party solutions (including PPS) won't work with it.

  • HDR is enabled for target platform and tier (Edit > Project Settings > Graphics):

  • Camera 'Allow HDR' is enabled:

  • You've set 'Glow Brightness' high enough:

Why does the glow appear on the whole image?

Make sure 'Threshold' value of the bloom image effect is set high enough. It's usually 1 to 1.5, depending on the bloom solution.

Why do I get a NullReferenceException in build?

Most likely the outline shader is not included to the build (it happens when none of the included assets reference SpriteGlow component directly). You can force-include the shader by assigning it to the "Always Included Shaders" in Edit -> Project Settings -> Graphics.

It's still not working!

Make sure you're using a compatible Unity version; supported versions per release are available on the releases page.

Download (clone) this repository and examine the example scenes, comparing them with your setup. Chances are, you've misconfigured something.

In case nothing of the above helps, check the active issues or open a new one. Don't forget to include the full error log, detailed information about your system, Unity version, package version and steps required to reproduce the issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].