Skip to content

A large library of free and open-source shaders for the Godot game engine. Here, you'll get 2D and 3D shaders with playable demos.

License

Notifications You must be signed in to change notification settings

gdquest-demos/godot-shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/!\ WARNING: This project is in the process of being ported to Godot 4. If you want get a copy of the working project for Godot 3, head to the last Godot 3 release. If you want to help, see Tracker and guide: Update to Godot 4.3.

Godot Shaders

project banner

Godot Shaders is a repository of Free shaders, part of which we made for our course Godot Shader Secrets.

➡ Follow us on Twitter and YouTube for free game creation tutorials, tips, and news! Get one of our Godot game creation courses to support our work on Free Software.

2D dissolve shader, showing a character burning

The shaders

Here's a list of available shaders and demos.

3D Shaders

Stylized fire shader

  • 3D dissolve
  • 3D outline
  • 3D shockwave
  • 3D stylized fire
  • Advanced toon shader
  • Force field
  • Stencil mask (impossible cube)
  • Stylized fire
  • Stylized bottled liquid
  • Interactive snow
  • Unlit directional tint
  • Texture mixing methods
  • Stylized waterfall shader
  • Spherical mask shader
  • Particle bridge: process to canvas_item/spatial communication

2D Shaders

2D water shader with light support

  • 2D baked-in-texture glow control
  • 2D clouds: noise-based cloud shadows cast over the game world
  • 2D dissolve
  • 2D glow
  • 2D outline
  • 2D palette swap
  • 2D reflection
  • 2D water for side-scrolling games
  • 2D water in top-down view
  • 2D x-ray (masking)

Screen shaders

  • Gaussian blur
  • Inverted colors
  • Pointilism
  • Screen distortion (2D shockwave)

How to use

You can find the shaders in the Shaders/ directory. Most shaders come with a demo scene. All demos are in the Demos/ directory.

The Intro/ directory contains an intro animation to the shader pipeline, that we use in our shader course.

Contributing

Contributors are welcome!

If you encounter a bug, please open an issue.

If you want to contribute to the project, for instance by fixing a bug or adding a feature, check out our:

  1. Contributor guidelines.
  2. GDScript style guide

Credits

Stylized fire adapted from a Unity tutorial by @minionsart.

Licenses

This project is dual-licensed:

  • The source code is available under the MIT license.
  • Art assets (images, audio files) are CC-By 4.0. You can attribute them to GDQuest and contributors (https://www.gdquest.com/).