Compatibility Renderer Trapsのロゴ

Compatibility Renderer Traps

組織
SummerEngine
compatibility-renderer-traps

Forward+のゲームをCompatibilityレンダラーで正しく表示するための設定:インスタンスユニフォーム、MultiMesh、頂点カラー。

Add to TypingMind

概要

公開者SummerEngine
リポジトリsummer
スキル名compatibility-renderer-traps
スター
91
フォーク
8
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/compatibility-renderer-traps .claude/skills/compatibility-renderer-traps
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Forward+ and Compatibility without surprises

Games built on Forward+ can end up on the Compatibility renderer (OpenGL): phones where Metal/Vulkan is unavailable, weak GPUs, or a project that picks it for battery. The failures are silent: no error, just black fruit, pale colors, or objects that stop animating after the first few hundred. Each trap below comes with its fix and the reason.

1. Know which renderer you actually got

  • Phones use rendering/renderer/rendering_method.mobile, which defaults to mobile, not Forward+. Set it explicitly.
  • A device can fall back to another renderer when it lacks a capability. Trust the renderer name printed at startup (or RenderingServer.get_current_rendering_method()), not the project setting.
  • Preview Compatibility on your computer: <summer> --path . --rendering-method gl_compatibility.

2. The traps

Symptom on CompatibilityCauseFix
Objects past roughly the 250th stop growing, lose color or read as defaultGLES3 reserves 16 instance uniform slots per instance out of 4096, so only about 256 instances in the whole scene can use them. Beyond that, values silently read 0.Don't use instance uniform for anything numerous. Put per-instance state in a one-instance MultiMesh's INSTANCE_CUSTOM (a vec4), or bake it into mesh vertex colors.
Fruit/flowers render solid blackGLES3 multiplies COLOR by the MultiMesh instance color, which is 0 when use_colors is off.Enable use_colors and set every instance color to white, or don't read COLOR in that path.
Everything looks pastel on Forward+ (saturated on Compatibility)Forward+ shades in linear space, Compatibility in sRGB. Colors you bake into vertex COLOR or hard-code into ALBEDO are usually sRGB.Convert once, only where needed: if (!OUTPUT_IS_SRGB) col = to_linear(col); with the helper below (the shading language has no built-in srgb_to_linear). Or pass colors as uniform vec3 c : source_color, which converts for you.
Whole scene pale/lime on Compatibility while Forward+ looks rightTonemap, glow and ambient respond differently.Keep a Compatibility branch of your lighting profile (lower ambient and exposure) and check both.
Foliage glows whiteGlow threshold too low for bright leaves.Raise the glow HDR threshold (~1.5) and keep bloom near 0.

Everything the player must see (ripe crop, enemy, pickup) must stay readable without glow, SSR, volumetric fog or other Forward+-only effects: use shape, color and icons too.

The helper (standard sRGB curve):

glsl
vec3 to_linear(vec3 c) {
	return mix(pow((c + vec3(0.055)) * (1.0 / 1.055), vec3(2.4)), c * (1.0 / 12.92), lessThan(c, vec3(0.04045)));
}

3. Keep one shader path

Write shaders in plain spatial math: vertex-color ramps, simple rim terms, no custom light() unless you test it on both renderers. One path for both renderers means one set of bugs and no drift.

4. Verify, don't assume

  1. Render the same scene on Forward+ and gl_compatibility offscreen: <summer> --audio-driver Dummy --summer-offscreen --path . --resolution 1600x900 -s res://tools/capture.gd -- --out=<dir> (add --rendering-method gl_compatibility for the second run).
  2. Read both images side by side, and include a stress shot with many instances (the 256 limit only shows at scale).
  3. Grep the log for SCRIPT ERROR, SHADER ERROR and ERROR:. A shader that fails to compile still lets the capture exit 0 and draws the object untextured, so a missing grep hides the failure.
  4. If later captures repeat the same frame, the offscreen run froze (it happens when another engine renders at the same time). Check with md5 -r *.png and rerun alone.

Common mistakes

  • Checking only the project setting and calling it "Forward+ on phones".
  • Using instance uniform for per-plant or per-tile state.
  • Reading COLOR from a MultiMesh without instance colors.
  • Testing Compatibility with ten objects when the game shows five hundred.
  • Budgeting one run per fix: every look change needs two captures (one per renderer). Plan runs in pairs.

See also

  • web-compatibility-look (a finished look when the game only runs on Compatibility, as on the web)
  • 3d-lighting (lighting profiles)
  • bounded-engine-runs (safe offscreen capture runs)

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
summer_get_script_errorssummer engine get-script-errors
summer_project_settingsummer engine project-setting

同梱ファイル

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

よくある質問

AIスキル「Compatibility Renderer Traps」では何ができますか?

Forward+のゲームをCompatibilityレンダラーで正しく表示するための設定:インスタンスユニフォーム、MultiMesh、頂点カラー。

TypingMindでCompatibility Renderer Trapsを使うメリットは何ですか?

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

TypingMindにCompatibility Renderer Trapsをインストールするにはどうすればよいですか?

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

Compatibility Renderer Trapsを使えるAIモデルはどれですか?

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

Compatibility Renderer Trapsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Compatibility Renderer Traps」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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