Logo di Compatibility Renderer Traps

Compatibility Renderer Traps

Organizzazione
SummerEngine
compatibility-renderer-traps

Fai apparire correttamente un gioco Forward+ con il renderer Compatibility: uniform di istanza, MultiMesh, colori dei vertici.

Add to TypingMind

Panoramica

Pubblicato daSummerEngine
Repositorysummer
Nome della skillcompatibility-renderer-traps
Stelle
91
Fork
8
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da SummerEngine su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Compatibility Renderer Traps in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/SummerEngine/summer/tree/main/library/skills/compatibility-renderer-traps
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Compatibility Renderer Traps in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Compatibility Renderer Traps non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Compatibility Renderer Traps non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Compatibility Renderer Traps?

Fai apparire correttamente un gioco Forward+ con il renderer Compatibility: uniform di istanza, MultiMesh, colori dei vertici.

Perché usare Compatibility Renderer Traps su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Compatibility Renderer Traps è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Compatibility Renderer Traps in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/SummerEngine/summer/tree/main/library/skills/compatibility-renderer-traps. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Compatibility Renderer Traps?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Compatibility Renderer Traps?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Compatibility Renderer Traps: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Compatibility Renderer Traps è gratuita?

Sì. È pubblicata su GitHub da SummerEngine con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇