jame581/godotprompter/assets-pipeline

Claude Code and agent skill by jame581/godotprompter

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when importing and managing assets — image compression, 3D scene import, audio formats, resource formats, and import configuration

Install

npx vskill@latest install jame581/godotprompter/assets-pipeline

SKILL.md

The same SKILL.md was published earlier as jame581/godotprompter/assets-pipeline.

Assets Pipeline in Godot 4.3+

All examples target Godot 4.3+ with no deprecated APIs. GDScript is shown first, then C#.

Related skills: audio-system for audio playback and bus architecture, 3d-essentials for 3D materials and lighting, 2d-essentials for 2D rendering and sprites, animation-system for imported animations, godot-optimization for asset-related performance, multithreading for threaded resource loading.

1. How Importing Works

The Import System

When you add a file to res://, Godot auto-imports it based on its type. Import settings are stored in .import sidecar files alongside the original.

project/
├── textures/
│ ├── player.png ← original file (committed to VCS)
│ └── player.png.import ← import settings (committed to VCS)
└── .godot/
└── imported/ ← compiled cache (NOT committed — .gitignore it)
Key Rules
  • Never modify files in `.godot/imported/` — they are regenerated from originals
  • Commit `.import` files to version control — they store your settings
  • Reimport after changing settings: select file → Import dock → click Reimport
  • .godot/ should be in your .gitignore
Changing Import Settings
  1. Select the file in the FileSystem dock
  2. Open the Import dock (next to Scene dock by default)
  3. Change settings
  4. Click Reimport (or Reimport All for batch changes)
Import settings can also be set via Advanced Import Settings for 3D scenes (double-click the .glb/.gltf file).

2. Image Import

Compression Modes
ModeQualityVRAMFile SizeUse For
LosslessPerfectHighLargePixel art, UI elements
LossyGoodHighSmallLarge photos, backgrounds
VRAM CompressedReducedLowSmall3D textures, large 2D sprites
VRAM UncompressedPerfectHighLargeWhen VRAM compression artifacts are unacceptable
Basis UniversalReducedLowVery smallCross-platform, multiple GPU formats
When to Use Each
Pixel art / UI icons → Lossless (no artifacts, crisp pixels)
2D game sprites → Lossless (small sprites) or VRAM Compressed (large sprites)
3D textures (albedo, normal) → VRAM Compressed (saves GPU memory)
Large backgrounds → Lossy or VRAM Compressed
Mobile targets → VRAM Compressed (essential for memory)
Key Import Settings
SettingDescriptionDefault
Compress > ModeCompression algorithm (see table above)Lossless (VRAM Compressed in the 3D preset; a texture detected in 3D is switched to it)
Mipmaps > GenerateGenerate mipmaps for distance renderingOff (On in the 3D preset)
Process > Fix Alpha BorderPrevents dark outlines on transparent spritesOn
Process > Premult AlphaPre-multiply alpha (avoids dark halos)Off

Filtering and repeat are not import options in Godot 4: they are texture_filter / texture_repeat on each CanvasItem (or the material's sampler in 3D).

Pixel Art Setup

For crisp pixel art, set these project-wide:

Project Settings > Rendering > Textures > Canvas Textures > Default Texture Filter → Nearest

Or per node: CanvasItem.texture_filter → Nearest

Enabling Mipmaps

Mipmaps prevent shimmering on textures viewed at an angle or from a distance. Required for 3D textures; optional for 2D.

  • 3D textures: Always enable mipmaps (Import dock → Mipmaps → Generate → On)
  • 2D sprites: Usually off (unless you use Camera2D zoom)
  • UI textures: Off (rendered at fixed scale)
Godot 4.8+: mipmaps/preserve_alpha_test_coverage (plus mipmaps/alpha_test_threshold, default 0.5) keeps alpha-tested foliage from thinning out at distance. compress/high_quality_mode sets the ASTC block size (4×4, 6×6, 8×8) when High Quality is on.
Godot 4.7+: DDS import supports the R8 and R8G8 texture formats. (GH-116307)

3. 3D Scene Import

Supported Formats
FormatExtensionRecommendation
glTF.gltf, .glbRecommended — open standard, best support
Blend.blendDirect Blender import (requires Blender installed)
FBX.fbxGood for legacy pipelines
Collada.daeOlder format, use glTF if possible
OBJ.objStatic meshes only — no animations/rigs
glTF is the recommended format. It has the best Godot support, is an open standard, and preserves materials, animations, and rigs accurately.
Node Naming Conventions

Godot auto-creates appropriate node types based on suffixes in your 3D model's object names:

SuffixGenerated NodeExample Name
-colStaticBody3D + collisionWall-col
-convcolConvexPolygonShape3DRock-convcol
-rigidRigidBody3DBarrel-rigid
-navmeshNavigationRegion3DFloor-navmesh
-occOccluderInstance3D (-occonly drops the mesh)BigWall-occ
In Blender: In Godot (after import):
Wall-col (mesh object) → Wall (MeshInstance3D)
└── StaticBody3D
└── CollisionShape3D (auto-generated)
Import Dock Settings

Select the imported .glb/.gltf in FileSystem, then in the Import dock:

SettingDescription
Root TypeOverride root node type (Node3D, RigidBody3D, etc.)
Root NameCustom name for the root node
Meshes > Generate LODAuto-generate LOD levels (on by default)
Meshes > Light BakingStatic or Dynamic for lightmap baking
Animation > ImportEnable/disable animation import
Animation > FPSBake animation at this framerate
Godot 4.7+: The Import dock's import-type option can also import a 3D scene file as a single Mesh resource or as a MeshLibrary (for GridMap), instead of a full scene — no separate export step in the 3D authoring tool needed. (GH-107856)
⚠️ Changed in Godot 4.7: EditorSceneFormatImporter's IMPORT_SCENE, IMPORT_ANIMATION, IMPORT_FAIL_ON_MISSING_DEPENDENCIES, IMPORT_GENERATE_TANGENT_ARRAYS, IMPORT_USE_NAMED_SKIN_BINDS, IMPORT_DISCARD_MESHES_AND_MATERIALS, and IMPORT_FORCE_DISABLE_MESH_COMPRESSION constants moved into a new ImportFlags enum (bitfield). GDScript-compatible; C# importer plugins referencing the old class-level constants must switch to the enum members. See the 4.7 migration guide.
Runtime Scene Loading

Use preload() for paths known at compile time and load() for data-driven paths. GDScript + C# snippets: references/runtime-resource-loading.md.

Runtime glTF Import Flags (Godot 4.7+)

GLTFDocument exposes an ImportFlags bitfield — IMPORT_FLAG_GENERATE_TANGENT_ARRAYS (8), IMPORT_FLAG_USE_NAMED_SKIN_BINDS (16), IMPORT_FLAG_DISCARD_MESHES_AND_MATERIALS (32), IMPORT_FLAG_FORCE_DISABLE_MESH_COMPRESSION (64) — accepted by the flags: int = 0 parameter of append_from_file(), append_from_buffer(), and append_from_scene():

gdscript
var doc := GLTFDocument.new()
var state := GLTFState.new()
doc.append_from_file("user://mods/enemy.glb", state,
GLTFDocument.IMPORT_FLAG_GENERATE_TANGENT_ARRAYS | GLTFDocument.IMPORT_FLAG_USE_NAMED_SKIN_BINDS)
add_child(doc.generate_scene(state))
csharp
var doc = new GltfDocument();
var state = new GltfState();
doc.AppendFromFile("user://mods/enemy.glb", state,
(uint)(GltfDocument.ImportFlags.GenerateTangentArrays | GltfDocument.ImportFlags.UseNamedSkinBinds));
AddChild(doc.GenerateScene(state));

4. Animation Import

Split a single-timeline 3D file into clips in Advanced Import Settings (Animations tab: start/end frame, loop mode per clip). Retarget between different skeletons with a BoneMap on the Skeleton3D node (Retarget > Bone Map) plus a SkeletonProfile. Import settings: Import, FPS (30 standard), Trimming, Remove Immutable Tracks.

See references/animation-import.md for the splitting steps, retargeting walkthrough, and the animation import settings table.

5. Audio Import

For in-depth audio playback, bus setup, and music management, see the audio-system skill.
Format Recommendations
FormatImport AsUse ForKey Settings
WAVAudioStreamWAVShort SFXLoop Mode, Max Rate
OGGAudioStreamOggVorbisMusic, long SFXLoop, Loop Offset
MP3AudioStreamMP3Music (fallback)Loop, BPM
Key Import Settings
SettingDescriptionWhen to Use
LoopEnable looping playbackMusic, ambient loops
Loop OffsetStart position for loop restartAvoid intro on loop
Force Mono (WAV only)Convert stereo to mono3D positional audio
BPMBeats per minuteRhythm games
Beat CountTotal beats in the trackRhythm sync
Import tip: Use WAV for short SFX (PCM has no decode cost; 4.4+ imports WAV as QOA by default, which is cheap to decode). Use OGG for music (small file, good quality). Use mono files (WAV: Force Mono) for any audio used with AudioStreamPlayer3D — stereo doesn't spatialize properly.

6. Resource Formats

.tres vs .res
FormatTypeReadableUse For
.tresTextYesResources you edit by hand or diff
.resBinaryNoLarge resources, faster loading
gdscript
# Save as text resource
ResourceSaver.save(my_resource, "res://data/item.tres")
# Save as binary resource
ResourceSaver.save(my_resource, "res://data/item.res")
# Load (either format)
var resource: Resource = load("res://data/item.tres")
csharp
ResourceSaver.Save(myResource, "res://data/item.tres");
ResourceSaver.Save(myResource, "res://data/item.res");
var resource = GD.Load<Resource>("res://data/item.tres");
When to Use Each
  • `.tres` — Custom resources you create and edit (item data, config, skill definitions). Version control friendly.
  • `.res` — Generated or large binary data (baked lightmaps, navigation meshes, large meshes). Faster to load.
  • `.tscn` — Text scene files (always use text for scenes — diffable in VCS)
  • `.scn` — Binary scene files (rare — only for very large scenes where load time matters)
Threaded Resource Loading

Load large resources without freezing the game with the ResourceLoader.load_threaded_request() / load_threaded_get_status() / load_threaded_get() pattern. Full loading-screen recipe (GDScript + C#): references/runtime-resource-loading.md.


7. Common Pitfalls

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
901
Repository forks
61
7-day trend score
29

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jame581/godotprompter/assets-pipeline/badge)](https://verified-skill.com/skills/jame581/godotprompter/assets-pipeline)

Something wrong with this skill or its page? Tell us.