Scenario Unity Vfx 标志

Scenario Unity Vfx

组织
scenario-labs
scenario-unity-vfx

适用于在 Unity 6.3 中制作或修复实时 VFX:爆炸、火球、带有枪口火焰、轨迹和命中特效的投射物、法术、斩击、冲击波、烟雾、火花;Particle System(Shuriken)或 VFX Graph(“VFX Graph 爆炸”“粒子效果很差”“特效让移动端帧率暴跌”“过度绘制太多”);使用滚动纹理的网格特效、带 LUT 渐变的通用 VFX 着色器、Custom Data 和自定义顶点流、翻页纹理和 VFX 纹理、升级 URP 后粒子变粉色、VFX 预算与可读性。

Add to TypingMind

概览

发布者scenario-labs
代码仓库skills
技能名称scenario-unity-vfx
星标数
970
复刻数
114
附带文件
28
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 28 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 scenario-labs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Scenario Unity Vfx AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scenario-labs/skills/tree/main/skills/game-engines/unity/scenario-unity-vfx
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/game-engines/unity/scenario-unity-vfx .claude/skills/scenario-unity-vfx
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Scenario Unity Vfx,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Scenario Unity Vfx。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Scenario Unity Vfx 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Unity VFX (real-time VFX artist)

Expert VFX serves the game first: the player must read what happens, where the danger is and when it ends, on the target device, with the real number of copies on screen. Craft (layers, contrast, motion, textures) and budget (fill, particles, draw calls, memory) are both measured here: every effect is stepped frame by frame offscreen, looked at, and counted. Target: Unity 6000.3.21f1, URP 17.3, VFX Graph 17.3.0, macOS Apple Silicon. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-unity-expert (channels, review loop, 6.3 traps, ut_run, ut_review, ut_stat, AgentKit).

Status (2026-09-24, after the blind-grade refactor): every procedure ran in Unity 6000.3.21f1 through tests/code/unity-vfx/ (results in archive/tests/unity-vfx/live_results.jsonl, numbers in references/procedures.md).

Stance (the expert delta)

  1. Gameplay before beauty (Jason Keyser, ex-Riot). The primary shape equals the gameplay boundary; brightness is a budget spent by importance (idle and basic attacks subdued, game changers and ultimates bright); effects end with the gameplay state; review with N copies, not one. Tag every root with VfxTier and check the ladder (ut_vfx.importance_ladder; observed: slash 0.39 < muzzle 0.46 < impact 1.50 < shockwave 2.60 < explosion 5.99), the crowd (crowd_readability: 20 explosions at gameplay spacing read as 20 shapes, packed 2.2 m apart only 6) and the tail after a stop.
  2. On mobile, a texture moving over a mesh beats a particle cloud (Nikola Damjanov, Nordeus: about 90% of shipped effects; particles are fluff, 100 per emitter max; overdraw hurts more than draw calls). Observed: the same shockwave as one ring mesh drew 1 layer everywhere, 0.037 full-screen equivalents (FSE) at peak, versus 5 to 7 layers where they cover and 0.35 FSE for 36 puffs. Measure fill per frame, not particle counts.
  3. Choose the system by platform and data flow. Every target phone, WebGL, per-particle C#, Unity physics collisions: the Particle System, scriptable module by module. Thousands to millions of GPU particles, depth-buffer collisions, decals, six-way smoke, GPU events: VFX Graph, which needs compute and runs on Android only on a subset of high-end URP devices (e-book) and on the Web only through WebGPU, experimental in 6.3.
  4. One uber material, per-particle data from Custom Data. Nordeus's uber shader: grayscale R colored by a LUT ramp, G emission, B alpha override, linear fade, erosion, second alpha, Blend and Cull per material. AgentKit/VFX/Uber is that shader as text; per-instance variation (erosion curve, random UV offset, wipe) comes from the Custom Data module through custom vertex streams (Hovl Studio: "a random number cannot be made in a shader"), so one material serves every variant and the SRP Batcher stays on. Stream order is a contract the audit checks.
  5. A VFX Graph is a black box with a public API (VFX Graph e-book; Orson Favrel, Unity). Copy a template, expose a few properties and events, drive them with cached IDs; commands are deferred and aliveParticleCount reads -1 until the first readback, then refreshes every 60 frames (observed). Memory is capacity x stored attributes; bounds decide culling; sorting costs a dispatch; a point cache when particles only need positions, an SDF to conform or collide (both scriptable, P8, P12).
  6. Layers with one job each, contrast, order, motion (Sirhaian, Gabriel Aguiar, Nordeus). Dark alpha body under additive heat, glow on top, distinct sorting orders for stacked alpha layers; no linear curves except loops, fast and slow elements mixed, a burst when a loop starts, something always moving; a variant sheet plays as a random fixed frame per particle, never as animation; sparks shrink while fire grows; every layer fades in and out.
  7. Do not paint what you can borrow or compute; import at the size the screen shows (Simon Trümpler; Nordeus 256 typical, 512 max). Borrowed flipbooks get blending and a decelerating frame curve; simple shapes are generated; sprites get soft edges from motion blur, not Gaussian, and keep their values off the border; channel-packed data textures import linear (as sRGB a 0.5 gray reads 0.21, observed); LUTs stay uncompressed.
  8. In 6.3, Shader Graph particle shaders drop GPU instancing on mesh particles silently (Fred Moreau, Unity): +69% main-thread time at 5,000 cubes with identical draw calls (observed). The audit flags it; the fix comes from scenario-unity-shaders.

Establish first

Ask once: target tiers and frame budget (default 30 fps at 65% on mobile = 21.7 ms); compute available; post-processing on the lowest tier (no Bloom means faking glow with an additive layer); gameplay camera and distance; each effect's importance tier, frequency, damage radius and duration; copies on screen at worst (default 20); three effect pillars (Keyser); lit or unlit world, time of day. Defaults: URP, Shuriken, mesh-first on mobile, no post on the low tier, budgets ut_vfx.BUDGETS["mobile"].

Workflow

  1. Brief in numbers. Tier, radius, duration, copies, budgets. GATE: every later check has a threshold (ut_vfx.BUDGETS, marked source or [added]).
  2. Choose the system and the backbone (Stance 2, 3). Shuriken: VfxShuriken.Build(parent, Layer, seed) per layer; a mesh layer sets Layer.mesh (VfxMeshes.Ring, Cone, QuadXZ, Color32 vertex alpha). VFX Graph: VfxGraphJobs.CopyTemplate, then expose in the GUI (references/gui-paths.md) or, unsupported, VfxGraphJobs.Author. GATE: VfxGraphJobs.Contract lists every property and event gameplay uses.
  3. Textures and materials. VfxTextures.ImportVfxTexture (Clamp, tier size; data textures sRGB off); URP particle materials through VfxMaterials.Particle (inspector logic via BaseShaderGUI.SetMaterialKeywords); uber materials through VfxUber.Create(path, UberSpec) with keywords set on the asset, never toggled at runtime. Fire, sparks, trails and magic stay unlit; smoke and dust go Simple Lit or six-way when lighting changes; URP particle shaders cast no shadows. GATE: queue 3000, expected keywords, no magenta, no Built-in shader (audit).
  4. Build the effect. Worked examples: VfxFireballKit.Build (projectile, muzzle, impact with scorch and hot core, explosion) and VfxMeshFx.Build (mesh shockwave, particle shockwave, slash with Custom Data). Custom Data: Layer.custom1X/custom1Y/custom2X/custom2Y (curves or random ranges) sets the module and VfxUber.Streams. Spawn code calls VfxSeed.Reseed(go): fixed seeds are for captures. GATE: VfxAudit.AuditPrefabs 0 errors; warns explained.
  5. Step and look. VfxSequence.CaptureEffect (any prefab: copies with distinct seeds, stop_t for loops, shader time pinned to simulated time) or CaptureFireball; ut_review.review_images; OPEN the contact sheet. GATE: no blank or magenta frame; references/critique.md A and B pass.
  6. Measure. VfxBudget.Overdraw (layers per pixel, FSE, heatmap), Counts, VisualRadius (mesh-aware), ScreenTexel; ut_vfx.effect_verdict or sequence_verdict, texel_verdict, importance_ladder across the set, crowd_readability on VfxStress.StressOverdraw at gameplay spacing, motion_gaps on evenly spaced loop frames; stress profile with AgentKit.AgentProfile.PlayModeTimings against a 0-copy scene. GATE: verdicts pass or warn with a written reason; frame delta within the VFX share.
  7. VFX Graph runtime check (VfxGraphJobs.PlayTest): offscreen camera target, property + event, counts after the deferred frames, N instances batched, culled when turned away; ut_vfx.graph_hygiene(vfx_yaml_facts(...), peak_alive). GATE: counts proportional to the exposed rate, unbatchedInstanceCount == 0, culling both ways, capacity near the alive count.
  8. Fix one thing, re-run 5 to 7, compare (ut_review.compare, heatmaps side by side). Deliver with evidence (scenario-unity-expert report format).

Numbers

ValueRelative toSource
about 90%effects that are textures moving over meshes (mobile)Nordeus
100max particles per emitter, mobileNordeus
8 to 10 / 5 to 6 / 2 to 3draw calls per high-level / low-level / multi-target SPELL (by gameplay level, not device tier)Nordeus
256 typical, 512 max; LUT uncompressedVFX texture import, mobileNordeus
0.1 to 0.2 s; 0.15 to 0.2 smuzzle and flash life; trail time of a fast projectileGabriel Aguiar
about 0.3 sslash lifetime (= the swing)Hovl Studio
scorch 1.75 to 2, hot core 0.75 to 1.3two stacked marks on the hit surfaceGabriel Aguiar
50 units/sVFX Graph Spawn Over Distance threshold17.3 source
0.5 s; 0.5 to 4tail after the gameplay stop; texels across a particle / its screen pixels (detailed textures)[added]
1 vs 5 to 7 layers, 0.037 vs 0.35 FSEring mesh vs 36-puff shockwave at peak, 960 x 540observed
0.51 FSE, p95 11, 98 particlesfireball kit beat at peak (mobile tier)observed
1.05 FSE, 540 particles; +0.22 ms CPU20 explosions at their peak; replayed together vs none (editor, indicative)observed
0.89 vs 1.51 ms5,000 mesh particles: URP Particles/Unlit vs 6.3 Shader Graph particle templateobserved

Quality gates

  • Measurable: audit counts.error == 0; effect or sequence verdict pass or explained warn (fill, particles, visual/gameplay radius 0.85 to 1.2, 0 particles after the window, tail under 0.5 s); ladder pass; crowd pass at gameplay spacing; texel verdict; stress delta; VFX Graph contract, counts, batching, culling, hygiene.
  • Visual: contact sheet opened; head brightest in flight; nothing cut by geometry; layers fade; heatmap hotspots match something visible; consecutive instances differ.

Common mistakes

MistakeWhat it looks likeFix
A particle cloud where a mesh would do (mobile)5 to 7 overlapping layers for a ring (observed)ring or arc mesh + scrolling uber material, 1 layer
Custom Data without the matching streamsshader reads zeros: no erosion, no hot start (observed)VfxUber.Streams; audit vfx.stream_mismatch
Channel-packed texture imported as sRGBdark, eroded effectsRGB off; audit vfx.data_texture_srgb
Float vertex colors on a mesh particle's meshflat dark blue, alpha 0.25; a MeshRenderer is fine (observed)Mesh.SetColors(List<Color32>); audit vfx.mesh_color_format
Linear size or erosion curvesmechanical motion; six in the v0.1 kit (observed)EaseOut/EaseIn/Decelerate; audit vfx.linear_curve
Variant sheet played as animationevery particle swaps shape togetherrandom fixed frame: Frame over Time random between two constants
Distortion drawn after the transparent it surroundsthe glow under it vanishes (31% left, observed)draw distortion first: lower order or larger Sorting Fudge
Kit seeds shipped fixedevery shot identicalVfxSeed.Reseed on spawn
Instantiate and Destroy per shot at high fire rateallocation spikespool: replay with Clear + Play (VfxStressSpawner), prewarm at load
Close explosion fills the screenfull-screen fill spikeRenderer Max Particle Size (kit: 0.35 mobile) [added]
Billows or flash centered on the hit pointhard straight cut into the surfaceoffset along the normal (mobile) or soft particles (PC)
Equal sorting orders on stacked alpha layersflickerdistinct orders, glow on top
Legacy particle materials left in URPstill draw, so nobody notices; no URP featuresVfxMaterials.MigrateLegacyJob, compare captures
Asserting VFX Graph counts on the send frame-1 or stale valueswait the deferred frame and 60+ frames
Profiling in batch Play mode at uncapped fps300 frames = 0.3 s of effectTime.captureDeltaTime = 1f / 60f, 600 frames

More rows (VFX Graph composition, events, trails, capture traps): references/critique.md section F.

Handoffs

  • Receives from scenario-unity-gameplay: hit point and normal, damage radius, projectile speed, fire rate; from scenario-unity-shaders: dissolve, trail, instanced Shader Graph particles, a variant review of AgentKit/VFX/Uber; from scenario-textures or scenario (Scenario MCP): flipbooks and masks, grayscale on black for additive; from scenario-unity-rendering-lighting: Bloom per tier, Depth and Opaque Texture per tier (soft particles, distortion), Decal feature.
  • Delivers to scenario-unity-gameplay: prefabs with VfxTier, FireballProjectile-style glue, the effect contract; to scenario-unity-performance: stress scene, CSVs, heatmaps; to scenario-unity-mobile: tier budgets and cuts (least important layer first); to scenario-unity-web: VFX Graph only on WebGPU builds.
  • Packet: project, channel, brief in numbers, job ids, contact sheets and heatmaps, verdict lines, Verified, Assumed.

Unity 6.3 notes

  • VFX Graph 17.3.0 is a core package; templates 01_Minimal_System to 06_Firework expose nothing; deprecated: one Trigger Event block with modes, Set Position Shape, Collision Shape, Set Position From Source, Output Particle URP Lit Decal; output sort is Auto, Off or On in YAML (0, 1, 2).
  • SetActiveVertexStreams replaces EnableVertexStreams; URP particle shaders have no ShadowCaster pass and blend flipbooks without motion vectors (VFX Graph has Flipbook Motion Blend): keep motion-vector flipbooks for hero or slow elements (Nordeus); URP distortion samples the opaque texture, which holds no transparents.
  • After 6.3: 6.5 deprecates and 6.6 obsoletes dynamic batching; 6.6 adds Shader Graph Preprocessor Directives and particle nodes; WebGPU leaves experimental in 6.6.

References

  • references/expert-notes.md: principles by expert with timestamps, disagreements and deciding conditions.
  • references/procedures.md: P0 to P19 as copyable code with their live results.
  • references/critique.md: the self-review rubric (gameplay, craft, budget, VFX Graph, honesty) and the full mistakes table.
  • references/gui-paths.md: the same work through windows and menus.
  • references/sources.md: every source, credential, URL, best timestamps, revision history.
  • scripts/ut_vfx.py (budgets, verdicts, ladder, crowd, texels, motion gaps, graph hygiene, .vfx facts, pCache); scripts/AgentKit/Vfx/ (jobs, uber materials, meshes, mesh-first kit); scripts/Runtime/ (stress spawner, projectile glue, VfxTier, VfxSeed); scripts/Shaders/ (VfxUber.shader, VfxOverdraw.shader); scripts/EditorGraph/ (unsupported graph authoring, SDF bake).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Scenario Unity Vfx AI 技能有什么作用?

适用于在 Unity 6.3 中制作或修复实时 VFX:爆炸、火球、带有枪口火焰、轨迹和命中特效的投射物、法术、斩击、冲击波、烟雾、火花;Particle System(Shuriken)或 VFX Graph(“VFX Graph 爆炸”“粒子效果很差”“特效让移动端帧率暴跌”“过度绘制太多”);使用滚动纹理的网格特效、带 LUT 渐变的通用 VFX 着色器、Custom Data 和自定义顶点流、翻页纹理和 VFX 纹理、升级 URP 后粒子变粉色、VFX 预算与可读性。

为什么在 TypingMind 中使用 Scenario Unity Vfx?

因为您只需安装一次,就能搭配任何模型使用。Scenario Unity Vfx 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Scenario Unity Vfx?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scenario-labs/skills/tree/main/skills/game-engines/unity/scenario-unity-vfx。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Scenario Unity Vfx?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Scenario Unity Vfx 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Scenario Unity Vfx 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Scenario Unity Vfx AI 技能免费吗?

是的。scenario-labs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇