Skip to content

Kelpekk/Godot-Shader-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

156 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 Shader Library - Godot Addon

Godot Engine License: MIT Version

Disclaimer: This is an unofficial plugin and is not affiliated with or endorsed by godotshaders.com.

Browse and install shaders from godotshaders.com directly in the Godot Editor!

🎬 Watch Video Showcase - See the plugin in action!

Shader Library Preview Shader Library Preview

✨ Features

Core Features

  • πŸ” Browse 2000+ Shaders - Access the entire godotshaders.com library
  • πŸ”Ž Smart Search & Filter - Find shaders by name, author, or category (Spatial, Canvas Item, Particles, Sky, Fog)
  • πŸ“₯ One-Click Install - Download shaders directly to your project with a single click
  • 🎞️ GIF Preview Support - Animated GIF previews render as their first frame (with a β–Ά badge); click Watch Video in the preview dialog to see the full animation in your browser
  • πŸ‘οΈ Rich Preview - View full shader details:
    • πŸ“Έ High-quality preview image
    • πŸ“ Complete description with clickable links
    • 🏷️ Tags and categories
    • πŸ’» Full shader code
    • πŸ‘€ Author info and license
    • πŸ”— Direct link to godotshaders.com

Workflow Tools

  • 🎯 ShaderApplier Node - Apply shaders via custom inspector node

    • Supports 30+ node types (2D & 3D)
    • Browse library directly from inspector
    • Create new shaders with templates
  • πŸ“¦ Installed Manager - View, open, and delete installed shaders

  • πŸ’Ύ Smart Caching - 24-hour cache with daily auto-updates; image cache uses an in-memory index for snappy page-flips

  • ⚑ Snappy Browser - Debounced search, shared StyleBoxes, single-pass filtering β€” stays responsive with 2000+ shaders loaded

  • πŸ–₯️ HiDPI Support - Perfect scaling on 4K/high-DPI displays

  • 🌍 Multi-Language - 9 languages supported

  • 🎨 Native Godot UI - Seamless integration with editor theme

πŸ“¦ Installation

From Godot Asset Library

  1. Open Godot 4.x
  2. Go to AssetLib tab
  3. Search for "Shader Library"
  4. Click Download and Install
  5. Enable in Project Settings β†’ Plugins

⚠️ Updating from AssetLib: Due to a Godot limitation, AssetLib cannot update existing addons. To update:

  1. Disable the plugin in Project Settings β†’ Plugins
  2. Delete the res://addons/shader_library/ folder from your project
  3. Reinstall from AssetLib
  4. Re-enable the plugin

Alternatively, update via GitHub (see below) which supports direct replacement.

From GitHub

  1. Download the latest release (Code β†’ Download ZIP)
  2. Copy the addons/shader_library folder to your Godot project
  3. Open your project in Godot 4.x
  4. Go to Project β†’ Project Settings β†’ Plugins
  5. Enable Shader Library
  6. Click on ShaderLib tab in the top menu bar

πŸ’‘ Tip: Installing from GitHub allows easy updates - just replace the addon folder with the new version.

πŸš€ Usage

Browse Shaders

  1. Open the ShaderLib tab (top menu bar)
  2. Browse through shader cards with previews
  3. Use pagination to navigate (40 shaders per page)

Search & Filter

  • Type in the search box and press Enter
  • Use dropdown to filter by: All, Spatial (3D), Canvas Item (2D), Particles, Sky, Fog

Preview Shader

Click Preview to see:

  • Full-size image
  • Author & license info
  • Description & tags
  • Complete shader code
  • Direct link to godotshaders.com

Install Shader

Click Install to download the shader to res://shaders/shaderlib/ folder.

Manage Installed

  1. Switch to Installed tab
  2. View all installed shaders
  3. Click to open shader in editor
  4. Delete shaders with confirmation

ShaderApplier Node

  1. Add ShaderApplier node as child of any supported node:
    • 2D (CanvasItem): Sprite2D, AnimatedSprite2D, ColorRect, TextureRect, Panel, NinePatchRect, Line2D, Polygon2D, Label, GPUParticles2D, CPUParticles2D, Node2D, Control, and all CanvasItem descendants
    • 3D: MeshInstance3D, Sprite3D, AnimatedSprite3D, MultiMeshInstance3D, Label3D, CSGShape3D, GPUParticles3D, CPUParticles3D
  2. In the inspector, click the shader selector dropdown
  3. Select "πŸ“š Shader Library" to browse and install shaders
  4. Shader is automatically applied to the parent node

πŸ“ Structure

addons/shader_library/
β”œβ”€β”€ api/
β”‚   β”œβ”€β”€ cache_manager.gd        # Downloads shader database, indexes image cache
β”‚   β”œβ”€β”€ gif_decoder.gd          # Pure-GDScript GIF89a decoder (first frame only)
β”‚   β”œβ”€β”€ installed_manager.gd    # Track installed shaders
β”‚   β”œβ”€β”€ shader_installer.gd     # Download & install shaders
β”‚   β”œβ”€β”€ translations.gd         # Multi-language support (9 languages)
β”‚   └── update_checker.gd       # Plugin update notifications
β”œβ”€β”€ ui/
β”‚   β”œβ”€β”€ gif_player.gd           # Static-frame GIF display (PanelContainer)
β”‚   β”œβ”€β”€ shader_browser.gd       # Main UI logic
β”‚   └── shader_selector_dialog.gd # Shader selector for inspector
β”œβ”€β”€ CHANGELOG.md                # Version history
β”œβ”€β”€ plugin.cfg                  # Plugin configuration
β”œβ”€β”€ plugin.gd                   # Main plugin entry point
β”œβ”€β”€ shader_applier_inspector.gd # Custom inspector plugin
└── shader_applier.gd           # ShaderApplier custom node

🌐 Supported Languages

The addon automatically detects your Godot editor language:

Language Code
English en
Polski pl
Deutsch de
EspaΓ±ol es
FranΓ§ais fr
δΈ­ζ–‡ zh_CN
ζ—₯本θͺž ja
Русский ru
PortuguΓͺs pt_BR

πŸ“‹ Requirements

  • Godot 4.0 or higher
  • Internet connection (for fetching shaders)

🀝 Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest features
  • Submit pull requests

πŸ“„ License

MIT License - see LICENSE file.

All shader authors retain their original licenses (CC0, MIT, or GPL v3).

πŸ™ Credits


Made with ❀️ for the Godot community

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors