2D Outline Shader /// Shaders in Godot 4

Опубликовано: 16 Июнь 2026
на канале: Michael Games
3,257
189

In this tutorial we will create 2 versions of an outline shader that can be used for 2D games!

Topics Covered: Shaders, Godot 4

Join our discord community!
Discord:   / discord  

Become a Patreon member to get exclusive access to Michael, and more:
https://patreon.com/user?u=26305011&u...

--------------------
Chapters
--------------------
00:00 Intro
00:26 Setup
01:16 Setup Shader Material
02:02 Setup new Shader script
02:59 Shader variables
06:22 Shader functions
16:07 Fragment code
18:32 Fix pixel size related bug in shader
20:23 What about HD sprites?
22:13 HP Outline shader
29:18 Outro
30:17 Thank you to my Patreon supporters!


2D Action Adventure RPG Series Playlist:    • Make a 2D Action & Adventure RPG in Godot ...