godot-convert-shaders

Community

Convert Godot 3.x shaders to Godot 4.x.

AuthorAsreonn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Converts Godot 3.x shaders to Godot 4.x shader syntax, handling uniform declarations, texture sampling updates, and built-in varyings upgrades to preserve visuals during migration.

Core Features & Use Cases

  • Converts SCREEN_TEXTURE and DEPTH_TEXTURE usage to explicit uniforms (screen_texture and depth_texture) with appropriate hints.
  • Rewrites texture(...) calls to textureLod() for screen/depth textures and updates built-in varyings to Godot 4.x-compatible forms.
  • Supports light-function variable name changes and optional renaming of shader extensions for Godot 4.x projects in upgrades ranging from small edits to large-scale migrations.

Quick Start

Run the converter on a Godot 3.x project. It scans shader files, injects uniforms, rewrites texture calls, and renames files with .gdshader extensions; verify results in Godot 4.x after migration.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: godot-convert-shaders
Download link: https://github.com/Asreonn/godot-superpowers/archive/main.zip#godot-convert-shaders

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.