Logo: Godot Shaders Vfx

Godot Shaders Vfx

Communautéit
EL4CTEO
godot-shaders-vfx

Shaders and VFX in Godot 4.7 - shading language (spatial, canvas_item, particles, sky, fog), instance/global uniforms, screen/depth textures, stencil_mode, includes, ready effects (dissolve, outline, water, toon), GPU particles, compositor effects, shader stutter fixes, headless shader validation. Use for .gdshader files, materials effects or particles.

Iwwersiicht

EditeurEL4CTEO
Repositorygodot-skills
Skill-Nummgodot-shaders-vfx
Stären
60
Forks
6
Matgeliwwert Dateien
5
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    EL4CTEO huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Godot Shaders Vfx an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-shaders-vfx
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-shaders-vfx .claude/skills/godot-shaders-vfx
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Godot Shaders Vfx an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Godot Shaders Vfx automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Godot Shaders Vfx net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Shaders and VFX (4.7)

Validate after every edit: python scripts/shader_check.py [paths] compiles each .gdshader with the engine's shader compiler, headless, and returns {file, line, msg}. Errors inside #included .gdshaderinc files point at the include. Looks still need a real GPU, so ask the user to check them visually.

Shading language essentials

  • The first line is shader_type spatial | canvas_item | particles | sky | fog;. Entry points are vertex(), fragment(), light() (custom lighting) and start()/process() (particles).
  • render_mode (spatial): unshaded, cull_disabled, depth_draw_always, blend_add, diffuse_toon, specular_toon, world_vertex_coords, … An invalid mode is a compile error, so the checker catches it.
  • Uniform hints: source_color (required on color and albedo textures, or colors come out wrong), hint_range(a, b, step), hint_normal, hint_default_white/black, filter_nearest, repeat_enable. Group them in the inspector with group_uniforms Name; … group_uniforms;.
  • Screen reads: uniform sampler2D s : hint_screen_texture, filter_linear_mipmap;, hint_depth_texture and hint_normal_roughness_texture (Forward+). They replace SCREEN_TEXTURE/DEPTH_TEXTURE from Godot 3. canvas_item screen reads need a BackBufferCopy only when several effects stack.
  • Per-instance values without duplicating materials: instance uniform float flash; set with set_instance_shader_parameter("flash", 1.0) (3D). Project-wide values: global uniform vec4 wind; declared in Project Settings → Shader Globals and set with RenderingServer.global_shader_parameter_set.
  • varying passes data from vertex to fragment. #include "res://shaders/lib.gdshaderinc", #define and #ifdef work. Godot shaders are GLSL-like but not GLSL: there are no in/out globals, and built-ins are UPPERCASE (ALBEDO, UV, VERTEX, NORMAL, TIME, SCREEN_UV, MODEL_MATRIX, INV_VIEW_MATRIX).
  • Stencil (4.5+): stencil_mode write, compare_always, 1; on the mask material, stencil_mode read, compare_equal, 1; on the revealed one (portals, x-ray, outlines). StandardMaterial3D has ready-made STENCIL_MODE_OUTLINE/XRAY presets.
  • Visual shaders are for artists. When writing shaders as an agent, use text .gdshader files: they're diffable and checkable.

Particles

  • Use GPUParticles2D/3D + ParticleProcessMaterial by default (they work on all renderers in 4.x). Use CPUParticles* only for exact CPU control or many tiny emitters in the Compatibility renderer (convert with convert_from_particles).
  • One-shot bursts: one_shot = true, explosiveness = 1, emitting = true, then free on finished. Pre-warm ambient effects with preprocess.
  • Shape the effect with emission_shape, color_ramp (Gradient), scale_curve, turbulence_enabled, sub-emitters (on collision or end) and trails (trail_enabled + ribbon or tube mesh). 4.7 adds 3D particle scale and rotation: use_scale_3d, use_rotation_3d.
  • Collision: collision_mode on the material, plus GPUParticlesCollisionBox3D/Sphere3D/SDF3D/HeightField3D nodes in the level. Attractors: GPUParticlesAttractor*3D.
  • Set visibility_aabb/visibility_rect large enough, or particles pop out of view (Particles menu → Generate AABB). Use amount_ratio to scale intensity without a restart.
  • Spawn from code: emit_particle(xform, velocity, color, custom, flags) with amount as the pool size, for impacts at arbitrary points.

Post-processing

  • Simple: a full-screen ColorRect (canvas_item shader with hint_screen_texture) on a CanvasLayer. That's enough for vignettes, CRT and color grading LUTs.
  • Proper 3D post: Compositor + CompositorEffect (experimental; Forward+ and Mobile) running a compute shader through RenderingDevice at EFFECT_CALLBACK_TYPE_POST_TRANSPARENT and similar points. See the reference skeleton.
  • Prefer Environment features (glow, fog, adjustments with a LUT, DOF) before writing custom post effects.

Shader stutter (first-time compile hitches)

  • 4.4+ uses ubershaders and pipeline precompilation automatically.
  • 4.5+ has the shader baker: turn on the export option shader_baker/enabled per preset (api_lookup.py --search shader_baker). It pre-compiles for the target driver, with much faster first loads on D3D12 and Metal.
  • Keep the number of unique shaders and material variants low. Toggling #define-style features at runtime creates new pipelines. Uniform changes are free.

Common effects (see the reference)

dissolve with an edge glow, hit flash (instance uniform), 2D outline, spatial rim and fresnel, scrolling-UV water with depth fade, toon light(), vertex wind sway with a global uniform, full-screen vignette, stencil x-ray.

Shader library (validated by shader_check in the tests): references/shaders.md. VFX scripts (impact burst, flash driver, compositor effect skeleton): references/vfx.md

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Godot Shaders Vfx?

Shaders and VFX in Godot 4.7 - shading language (spatial, canvas_item, particles, sky, fog), instance/global uniforms, screen/depth textures, stencil_mode, includes, ready effects (dissolve, outline, water, toon), GPU particles, compositor effects, shader stutter fixes, headless shader validation. Use for .gdshader files, materials effects or particles.

Firwat Godot Shaders Vfx op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Godot Shaders Vfx besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Godot Shaders Vfx an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-shaders-vfx an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Godot Shaders Vfx benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Godot Shaders Vfx benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Godot Shaders Vfx domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Godot Shaders Vfx gratis?

Jo. EL4CTEO huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇