2D Practice Shaders in Godot

Subscribers:
529
Published on ● Video Link: https://www.youtube.com/watch?v=GLcf7O-uoIE



Duration: 0:00
499 views
31


Godot 2D Practice Shaders Series

In this episode I'll introduce the first 3 shaders (out of 14).

We'll learn the basics of CanvasItem Material shaders in Godot and how to change the pixels of our 2D images and sprites using the built-in shader language.

SHADER 1 ColorChannelRed - change the red color channel of a texture
SHADER 2 ReplaceColor - replace some colors in a texture with another color
SHADER 3 RadialHue - change the texture pixels based on their UV position

The code covered in this series is heavily simplified to help us learn about shaders but the original code for each shader can be found on godotshaders.com

00:00 Intro
00:50 CanvasItem Material Shader
02:34 SHADER 1 ColorChannelRed
08:00 SHADER 2 ReplaceColor
14:40 SHADER 3 RadialHue

Self-taught so let me know where I go wrong along the way :)