---
name: godot-particles
description: "Expert blueprint for GPU particle systems (explosions, magic effects, weather, trails) using GPUParticles2D/3D, ParticleProcessMaterial, gradients, sub-emitters, and custom shaders. Use when creating VFX, environmental effects, or visual feedback. Keywords GPUParticles2D, ParticleProcessMaterial, emission_shape, color_ramp, sub_emitter, one_shot."
title: godot-particles
canonical_url: https://skilld.dev/gh/thedivergentai/game-dev-agentic-skills/godot-particles
last_updated: 2026-09-28T20:18:36.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references/expert-vfx-patterns.md](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/references/expert-vfx-patterns.md), [references/migration-notes.md](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/references/migration-notes.md), [scripts/2d_physics_interpolation_fix.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/2d_physics_interpolation_fix.gd), [scripts/custom_particle_logic.gdshader](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/custom_particle_logic.gdshader), [scripts/dynamic_userdata_modulation.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/dynamic_userdata_modulation.gd), [scripts/local_vs_global_coords.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/local_vs_global_coords.gd), [scripts/massive_swarm_multimesh.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/massive_swarm_multimesh.gd), [scripts/particle_attractor_opt.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_attractor_opt.gd), [scripts/particle_burst_emitter.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_burst_emitter.gd), [scripts/particle_lod_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_lod_manager.gd), [scripts/screenspace_weather_heightfield.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/screenspace_weather_heightfield.gd), [scripts/smart_oneshot_recycler.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/smart_oneshot_recycler.gd), [scripts/sub_emitter_impact.gdshader](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/sub_emitter_impact.gdshader), [scripts/vfx_pool_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/vfx_pool_manager.gd), [scripts/vfx_shader_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/vfx_shader_manager.gd).
>
> If the user asked to install this Skill, run `npx skilld install thedivergentai/game-dev-agentic-skills/godot-particles`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/godot-particles`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/thedivergentai/game-dev-agentic-skills/godot-particles) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/godot-particles`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/godot-particles --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/godot-particles --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

## NEVER Do in Particle Systems

- **NEVER use `amount_ratio` to optimize performance dynamically** — It does not save GPU memory or improve processing; the full `amount` is still allocated. Change the `amount` property directly instead.
- **NEVER use CPUParticles2D for performance-critical effects on Desktop** — Use GPUParticles unless targeting low-end mobile with no GPU support. However, use CPUParticles2D if you need Physics Interpolation for smooth trails on moving bodies in 2D.
- **NEVER set `preprocess` to extremely high values** — High values (e.g., 60s) will force the GPU to simulate thousands of frames in a single render tick, potentially causing an immediate GPU crash.
- **NEVER leave `visibility_aabb` unconfigured for large systems** — Incorrect AABBs cause frustum culling errors (particles popping out) and break LOD calculations. Generate AABBs using the editor toolbar.
- **NEVER enable turbulence on Mobile/Web without testing** — 3D noise evaluation per particle is extremely heavy. Disable via Feature Tags on lower-end platforms.
- **NEVER use a Timer to lifetime-cleanup one-shots** — Prefer [smart_oneshot_recycler.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/smart_oneshot_recycler.gd): `finished` + `restart()`, or `queue_free()` only on truly disposable instances.
- **NEVER use `local_coords = true` for trails** — Smoke or fire left behind by a projectile MUST use global space (`local_coords = false`) or the trail will follow the projectile like a stiff stick.
- **NEVER expect GPUParticles2D to interpolate correctly in Godot 4.3** — They stutter when parented to physics bodies. Use `CPUParticles2D` with `fract_delta = true` for high-speed 2D movement.
- **NEVER trigger `emitting = true` immediately after a `finished` signal** — Async GPU state delays can cause the restart to fail. Use the `restart()` method instead.
- **NEVER attempt recursion with sub-emitters** — A particle system cannot be its own sub-emitter; it will silently fail.
- **NEVER forget alpha in color gradients** — Particles that disappear instantly at the end of their lifetime look harsh; always add a gradient point at 1.0 with 0.0 alpha for a smooth exit.
- **NEVER use `EMISSION_SHAPE_POINT` for volumentric explosions** — Spawning all particles at a single point looks flat. Use a Sphere or Box shape for natural 3D spread.
- **NEVER forget to set `emitting = false` initially for one-shot VFX** — This prevents unwanted emission at the scene origin before you've had a chance to position the node via script.

## Choose Table (load only the matching script)

> **MANDATORY** for the chosen row. **Do NOT Load** unused particle scripts for a single effect.

| Goal | Prefer | Script |
|------|--------|--------|
| Burst / one-shot VFX (hit, muzzle, explode) | `GPUParticles*` + recycle | **MANDATORY** [particle_burst_emitter.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_burst_emitter.gd) + [smart_oneshot_recycler.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/smart_oneshot_recycler.gd) |
| Trails behind movers | `local_coords = false` | **MANDATORY** [local_vs_global_coords.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/local_vs_global_coords.gd) |
| Weather (rain/snow) heightfield | camera-snapped collision | **MANDATORY** [screenspace_weather_heightfield.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/screenspace_weather_heightfield.gd) |
| Million-entity swarms | MultiMesh, not GPUParticles | **MANDATORY** [massive_swarm_multimesh.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/massive_swarm_multimesh.gd) |
| Custom GPU motion / userdata | process material shader | [custom_particle_logic.gdshader](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/custom_particle_logic.gdshader), [dynamic_userdata_modulation.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/dynamic_userdata_modulation.gd) |
| Impact sub-emitters | collision subparticle | [sub_emitter_impact.gdshader](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/sub_emitter_impact.gdshader) |
| Attractors without global cost | cull_mask isolation | [particle_attractor_opt.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_attractor_opt.gd) |
| Distant env VFX LOD | visibility_range | [particle_lod_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_lod_manager.gd) |
| 2D physics-parented trails stutter | `CPUParticles2D` + fract_delta | **MANDATORY** [2d_physics_interpolation_fix.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/2d_physics_interpolation_fix.gd) |
| Shader param orchestration | material helpers | [vfx_shader_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/vfx_shader_manager.gd) |

**GPUParticles vs CPUParticles vs MultiMesh**
- **GPUParticles*** — default for desktop/console VFX amount budgets.
- **CPUParticles2D** — only when 2D physics interpolation / smooth parenting is required (see NEVER).
- **MultiMesh** — when entity count leaves the particle domain (fish/insects/debris fields).

## Available Scripts

### [smart_oneshot_recycler.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/smart_oneshot_recycler.gd)
Golden path for one-shot lifecycle: `finished` + `restart()` — never Timer-based free.

### [particle_burst_emitter.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_burst_emitter.gd)
One-shot bursts wired to the recycler.

### [local_vs_global_coords.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/local_vs_global_coords.gd)
Aura vs trail coordinate space + teleport `restart()`.

### [screenspace_weather_heightfield.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/screenspace_weather_heightfield.gd)
Global weather via camera-snapped heightfield collision.

### [massive_swarm_multimesh.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/massive_swarm_multimesh.gd)
Million-entity path with `set_buffer_interpolated()`.

### [custom_particle_logic.gdshader](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/custom_particle_logic.gdshader)
Procedural GPU particle motion with CUSTOM/USERDATA.

### [sub_emitter_impact.gdshader](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/sub_emitter_impact.gdshader)
Collision-driven `emit_subparticle()` impacts.

### [particle_attractor_opt.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_attractor_opt.gd)
Attractor `cull_mask` isolation.

### [dynamic_userdata_modulation.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/dynamic_userdata_modulation.gd)
Runtime USERDATA without breaking GPU batches.

### [particle_lod_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/particle_lod_manager.gd)
`visibility_range` hierarchy for env VFX.

### [2d_physics_interpolation_fix.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/2d_physics_interpolation_fix.gd)
CPUParticles2D + `fract_delta` for physics-parented 2D trails.

### [vfx_shader_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/vfx_shader_manager.gd)
Custom shader integration helpers for particle materials.

## Expert Pointers

- One-shots: `emitting = false` at scene origin → place → `restart()` ([smart_oneshot_recycler.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/smart_oneshot_recycler.gd)).
- Trails: `local_coords = false` or the trail sticks to the projectile.
- Do not invent explosion/smoke/sparkle material recipes here — Official Docs cover material UI; this skill owns lifecycle, coords, LOD, and swarm routing.

## Deep dives (on demand)

- Collision sub-emitters, fluid shaders, VFX pools → [expert-vfx-patterns.md](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/references/expert-vfx-patterns.md)
- VFX pool recycle pattern → [vfx_pool_manager.gd](https://skilld.dev/api/skills-raw/thedivergentai/game-dev-agentic-skills/godot-particles/scripts/vfx_pool_manager.gd)
- **WHY** GPU particles cannot drive per-collision SFX — CPU has no collision callbacks; sub-emitters or looping impact beds only.

## Reference

> Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

### Official Documentation
- [Particle systems (2D)](https://docs.godotengine.org/en/stable/tutorials/2d/particle_systems_2d.html) — GPUParticles2D/CPUParticles2D setup, amount/lifetime/one-shot, and when 2D trails need CPU particles for smooth motion.
- [ParticleProcessMaterial 2D](https://docs.godotengine.org/en/stable/tutorials/2d/particle_process_material_2d.html) — emission shapes, gravity/velocity curves, and color ramps that drive most 2D VFX without custom shaders.
- [Creating a 3D particle system](https://docs.godotengine.org/en/stable/tutorials/3d/particles/creating_a_3d_particle_system.html) — GPUParticles3D scene wiring, process material assignment, and first-emission checklist for 3D VFX.
- [Process material properties](https://docs.godotengine.org/en/stable/tutorials/3d/particles/process_material_properties.html) — ParticleProcessMaterial emission, forces, scale/color curves, and collision/sub-emitter modes used by expert patterns.
- [Particle properties](https://docs.godotengine.org/en/stable/tutorials/3d/particles/properties.html) — node-level amount, lifetime, explosiveness, local_coords, visibility AABB, preprocess, and restart/finished lifecycle.
- [Particle subemitters](https://docs.godotengine.org/en/stable/tutorials/3d/particles/subemitters.html) — chaining impact/debris systems and why a particle system cannot recurse as its own sub-emitter.
- [Particle collision](https://docs.godotengine.org/en/stable/tutorials/3d/particles/collision.html) — GPUParticlesCollision* shapes, rigid/hide modes, and GPU collision limits versus CPU-synced SFX.
- [Particle attractors](https://docs.godotengine.org/en/stable/tutorials/3d/particles/attractors.html) — attractor types plus cull_mask/layer isolation so global weather does not pay every attractor cost.
- [Particle trails](https://docs.godotengine.org/en/stable/tutorials/3d/particles/trails.html) — trail ribbons and why smoke/fire trails must use global space (`local_coords = false`).
- [Particle shader](https://docs.godotengine.org/en/stable/tutorials/shaders/shader_reference/particle_shader.html) — `shader_type particles`, CUSTOM/USERDATA, COLLIDED/`emit_subparticle()`, and keep_data process loops.
- [Using MultiMesh](https://docs.godotengine.org/en/stable/tutorials/performance/using_multimesh.html) — when millions of entities should bypass GPUParticles via MultiMesh + interpolated buffers.
- [Visibility ranges](https://docs.godotengine.org/en/stable/tutorials/3d/visibility_ranges.html) — GeometryInstance3D distance fade/hysteresis that stops distant environmental particle processing.

### Related Skills

#### Prerequisites
- [godot-project-foundations](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-project-foundations/SKILL.md) — scenes, resources, and import basics before packing VFX Prefabs and GradientTexture1D materials.
- [godot-gdscript-mastery](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-gdscript-mastery/SKILL.md) — typed GPUParticles APIs, `finished` handlers, and safe `restart()`/await patterns used by pools and burst spawners.
- [godot-shaders-basics](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-shaders-basics/SKILL.md) — ShaderMaterial workflow and shading-language fundamentals required before `shader_type particles` process logic.

#### Complements
- [godot-3d-materials](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-3d-materials/SKILL.md) — draw materials, transparency sorting, and next_pass stacks that render quads/meshes spawned by GPUParticles3D.
- [godot-3d-lighting](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-3d-lighting/SKILL.md) — emissive fire/sparks vs environment exposure; pair particle albedo with real lights when VFX must light the scene.
- [godot-audio-systems](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-audio-systems/SKILL.md) — impact/loop SFX while GPU emitters are active when per-particle collision audio is unavailable.
- [godot-performance-optimization](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-performance-optimization/SKILL.md) — amount budgets, visibility AABB, attractor masks, and MultiMesh cutovers when VFX dominate GPU time.
- [godot-camera-systems](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-camera-systems/SKILL.md) — camera-follow heightfields, visibility-range thresholds, and frustum-aware weather emitters.
- [godot-signal-architecture](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-signal-architecture/SKILL.md) — `finished` and one-shot connection hygiene for pooled recyclers that must not leak ghost callbacks.
- [godot-2d-physics](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-2d-physics/SKILL.md) — physics-parented 2D trails where CPUParticles2D + interpolation replaces stuttering GPUParticles2D.

#### Downstream / consumers
- [godot-combat-system](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-combat-system/SKILL.md) — hit sparks, blood/debris bursts, and muzzle FX spawned from damage resolution.
- [godot-ability-system](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-ability-system/SKILL.md) — cast/channel/impact VFX attached to ability lifecycle and targeting feedback.
- [godot-genre-shooter](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-genre-shooter/SKILL.md) — muzzle flash, tracers, explosions, and environmental smoke stacks built on these particle patterns.
- [godot-monte-carlo-balancer](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-monte-carlo-balancer/SKILL.md) — when VFX density/readability changes perceived difficulty or telegraph clarity, simulate juice budgets with combat outcomes.

#### Master
- [godot-master](https://github.com/thedivergentai/gd-agentic-skills/blob/main/skills/godot-master/SKILL.md) — library router and mirrored module entry for cross-skill discovery.
