Skip to content

DevinPentecost/godot-practice-shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godot-practice-shaders

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!

Shader Complexity

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.

  1. reveal
  2. invert
  3. transition
  4. overdraw
  5. color_fade
  6. sprite_outline
  7. sprite_inline
  8. sprite_inoutline
  9. sprite_pixel_outline
  10. lowres

Inspiration

Many of these shaders are inspired from YouTube Shader tutorials, such as:

Application

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.

Tools