agency-godot-shader-developer

Create and optimize Godot 4 shaders for 2D and 3D projects.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/augustoheiss/LogicDefense --skill agency-godot-shader-developer-augustoheiss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agency-godot-shader-developer
Source: https://github.com/augustoheiss/LogicDefense/tree/main/.gemini/skills/agency-godot-shader-developer
Command: npx skills add https://github.com/augustoheiss/LogicDefense --skill agency-godot-shader-developer-augustoheiss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building polished, renderer‑compatible, and mobile‑friendly visual effects in Godot 4 is error-prone and time consuming because Godot's shading language differs from raw GLSL, renderer tiers impose different constraints, and performance budgets on mobile are strict. This Skill encapsulates best practices, ready-to-use shader patterns, profiling checklists, and a workflow to go from artist-friendly prototypes to optimized code shaders.

Core Features & Use Cases

  • Engine‑accurate shader examples: CanvasItem outlines, Spatial dissolve, water surfaces, and post‑process CompositorEffect patterns written for Godot 4.
  • Workflow guidance: Prototype in VisualShader, port to code shaders for performance, and perform a mobile compatibility pass.
  • Performance and renderer guidance: Rules for TEXTURE sampling, SCREEN_TEXTURE usage, discard vs alpha scissor, and renderer‑specific limits (Forward+, Mobile, Compatibility).
  • Audit checklist: Texture sample counting, uniform hint enforcement, compatibility flags, and profiling steps for Godot's rendering profiler.
  • Advanced tactics: Guidance on RenderingDevice compute dispatch, VisualShader node hygiene, and multi‑pass CompositorEffect architectures.

Quick Start

Write a Godot 4 canvas_item shader that draws a configurable outline around a sprite while minimizing texture samples for mobile performance.

Frequently Asked Questions about agency-godot-shader-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a Godot 4 shader for a sprite outline that is optimized for mobile performance?

To create a Godot 4 sprite outline optimized for mobile, use a CanvasItem shader that minimizes texture samples and applies renderer-specific constraints like alpha scissor instead of discard for the Mobile renderer.

What is the best way to transition a VisualShader graph to a code shader in Godot 4?

The best way to transition from a VisualShader graph to a code shader in Godot 4 is to prototype visually, port the logic to Godot shading language, and perform a mobile compatibility pass to meet strict GPU performance budgets.

Does Godot 4 shader code need to be different for Forward+, Mobile, and Compatibility renderers?

Yes, Godot 4 shader code must satisfy different renderer compatibility constraints across Forward+, Mobile, and Compatibility tiers, requiring specific rules for SCREEN_TEXTURE usage, uniform hinting, and texture sampling limits.

How do I implement post-processing effects using CompositorEffect in Godot 4?

Implement Godot 4 post-processing effects by building CompositorEffect patterns that adhere to engine shading language rules, enabling multi-pass architectures and RenderingDevice compute dispatch for advanced visual outputs.

Why does my Godot 4 Spatial material dissolve shader cause performance drops on mobile GPUs?

Spatial material dissolve shaders cause mobile performance drops when using expensive operations like discard instead of alpha scissor, exceeding texture sample budgets, or ignoring uniform hint enforcement within the Mobile renderer limits.

What are the limitations of using VisualShader nodes for complex 3D water surfaces in Godot 4?

VisualShader nodes for 3D water surfaces in Godot 4 lack the optimization depth of code shaders, making it difficult to manage texture sample counting and RenderingDevice compute dispatch limits for complex visual effects.