Godot Shaders Vfxのロゴ

Godot Shaders Vfx

コミュニティ
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.

概要

公開者EL4CTEO
リポジトリgodot-skills
スキル名godot-shaders-vfx
スター
60
フォーク
6
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    EL4CTEOがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Godot Shaders Vfx」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-shaders-vfx
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGodot Shaders Vfxを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGodot Shaders Vfxを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Godot Shaders Vfxは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでGodot Shaders Vfxを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Godot Shaders Vfxはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGodot Shaders Vfxをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-shaders-vfxを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Godot Shaders Vfxを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Godot Shaders Vfxで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGodot Shaders Vfxを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Godot Shaders Vfx」は無料ですか?

はい。EL4CTEOがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇