Glowy Outline Shader and Controller - Amplify Shader Editor & Unity Tutorial @BinaryLunar
Glowy Outline Shader and Controller - Amplify Shader Editor & Unity Tutorial  @BinaryLunar
Uploaded July 2023 | Updated September 2026, 6 days ago
⭐Amplify Shader Editor: assetstore.unity.com/packages/tools/visual-scripting/amplify-shader-editor-68570?aid=1011lkafR
πŸ”₯30 for $30 Mega Bundle: assetstore.unity.com/mega-bundles/30-for-30/?aid=1011lkafR
Download project files(Patrons only): patreon.com/BinaryLunar

In this video, I will show you how to create a 2D outline shader using Amplify Shader Editor.

We recently did a poll, and 45% of you voted for a new shader tutorial. I'm happy to say I've found a fantastic shader by @MirzaBeig on Twitter that I think you'll all love.

Mirza's shader is a versatile outline shader that can be used for various purposes. It's easy to customize and can be used to create outlines of any thickness.

In this video, I'll show you how to create the shader from scratch in Amplify Shader Editor. I'll also show you how to control the outline by creating an outline controller script that triggers the outline on or off when you hover over the sprite with your mouse cursor.

So if you want to create a 2D outline shader, this video is for you. I hope you enjoy it!"

00:00 Intro
02:00 Creating new Unity 2D project
02:33 Creating new ASE Shader
03:44 Creating CGINC shader script file.
08:41 Using Custom expression node in ASE (Get neighbor pixel with the largest alpha).
12:54 Creating IsOutline custom expression node
14:00 Rendering the outline using the Lerp node
16:08 Installing and using the Post Processing package to render the bloom
18:51 Creating Outline Controller script to turn on the outline when we hover over the sprite.
20:58 Using the Events System to trigger OnPointerEnter and OnPointerExit events.

Mirza Tweet Link: twitter.com/TheMirzaBeig/status/1640683582095081475

You can copy his code from this Reddit post: reddit.com/r/Unity3D/comments/124mtz8/procedural_2d_outline_shader_tutorial_w_code_nodes


● Discord: discord.com/invite/b6bXKSV
● Subscribe: youtube.com/channel/UCLWdeb3R2U_htIdI3RqT5YA?sub_confirmation=1
● Twitter: twitter.com/BinaryLunar
● Facebook: facebook.com/Binary-Lunar-102590804565782
● Support us on Patreon: patreon.com/BinaryLunar
● Play Our Games on itch.io: binarylunar.itch.io
● Check our Assets: assetstore.unity.com/publishers/47136?aid=1011lkafR
● The Ultimate 2D & 3D Shader Graph Course: udemy.com/course/the-ultimate-2d-3d-shader-graph-vfx-unity-course/?referralCode=AA34C472F6CB6B86DE75
● Create Online Multiplayer Game in Unity(Netcode,Relay,Lobby): udemy.com/course/create-online-multiplayer-game-in-unitynetcoderelaylobby/?referralCode=4EAAC6F16AEA25E0F7A9
Glowy Outline Shader and Controller - Amplify Shader Editor & Unity TutorialAnimated Dashed Curvy-Line Shader Graph for Level Map - Easy Unity TutorialIs This the Best Stylized Grass for Video Games Ever?Rigging + IK + Idle Animation in Unity (2D Platformer Tutorial Part2)
Binary Lunar |

Glowy Outline Shader and Controller - Amplify Shader Editor & Unity Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER