In this video, I create a two pass shader in Godot that lets you fade a character into invisibility while avoiding artifacts that can result from transparency. This shader separates the depth pass from the color pass so you can block out polygons that don't need to be drawn.
Help support the channel:
Patreon: / markmckay
Blender Market: https://blendermarket.com/creators/ki...
0:00 Intro
0:35 Creating the invisibility shader
11:03 Adding an opacity property to the character