A collection of practice shaders in the Godot engine.
Each shader is in it's own directory, and has an example scene, so please check them out. They have their own README files with more details as well.
The .gif recordings don't do them justice (low quality, inconsistent framerate) - I recommend you download them and run them yourself!
If you are interested in using this repo as a guide for learning, I highly recommend you follow along and type in the code yourself. It will never stick if you don't physically type them out - no copy and paste!
For those who are brand new to shader programming (like I was) this is a rough order you can follow. They start relatively simply and progress towards more complex.
- reveal
- invert
- transition
- overdraw
- color_fade
- sprite_outline
- sprite_inline
- sprite_inoutline
- sprite_pixel_outline
- lowres
Many of these shaders are inspired from YouTube Shader tutorials, such as:
- Makin' Stuff Look Good
- SteinCodes
- Games that I've played that have shaders that interest me
Although not directly related, I've also worked on some art scenes utilizing a few of these shaders. You can view them in the godot-art github repo.
- These shaders were written in and for the Godot Engine
- Other Text/Code editing done in Visual Studio Code
- Videos recorded using LICECap, ScreenToGif and OBS
- Most (if not all) images created using Paint.net
-
- Some pixel art done with Pyxel Edit
- 3d Models made in Blender
-
- Some models provided by Kenney Game Assets