godot-build-shaders
Author Godot shaders and materials for the selected renderer with explicit resource ownership and target GPU budgets.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- godot-build-shaders
- engines
- [ "GODOT" ]
- description
- Author Godot shaders and materials for the selected renderer with explicit resource ownership and target GPU budgets.
02 资源文件 2
- 参考文档agents/openai.yaml276 B
- 其他customize.toml1.7 KB
03 SKILL.md 正文
Godot Build Shaders
When to use
Author Godot shaders and materials for the selected renderer with explicit resource ownership and target GPU budgets. Apply this feature only to Godot-owned code and content.
Activation and prerequisites
Run commands/resolve-engine.sh and commands/resolve-skill.sh godot-build-shaders before edits or tool launches. Continue only when the effective engine is GODOT and the skill is eligible. Skill selection never selects the engine. Honor validated task override evidence and its permitted isolated output scope.
Record exact Godot version, Forward+/Mobile/Compatibility renderer, target graphics platforms, project language for adapters, material conventions and texture/GPU budgets. Feature support must match the selected renderer.
Workflow
- Choose the correct shader type, including spatial, canvas_item, particles or sky as applicable. Declare render modes and pipeline stages intentionally; do not paste 3D shading assumptions into 2D canvas output.
- Inspect UVs, normals, tangents, texture color semantics and import flags before authoring ShaderMaterial or selected visual shaders. Preserve source texture rights and record conversions.
- Define uniforms and bounded runtime updates. ShaderMaterial resources can be shared; duplicate intentionally for per-object mutation or use supported instance uniforms on eligible nodes instead of changing every instance accidentally.
- Implement transparency, depth, culling, shadows and screen/depth texture usage according to renderer/version support. Document requirements and approved alternatives rather than silently changing renderers.
- Keep procedural motion and displacement inside declared bounds used by visibility/collision. Visual deformation must not independently decide collision or authoritative gameplay outcomes.
- Measure overdraw, pass count, texture memory and shader cost on representative content. Quality tiers must retain silhouettes, required cues and accessible alternatives.
- Release transient material/resources and restore owned parameters on interruption or scene exit. An effect must not leave shared global or resource state changed for unrelated objects.
Verification
- Compile and inspect actual Godot output on the selected renderer; test close/far/grazing views and relevant lighting/backgrounds.
- Test shared versus per-instance parameters, resize and renderer-specific screen/depth effects, then run a target export.
- Capture target GPU/frame evidence and texture memory; headless shader parsing or source inspection cannot prove visual output.
Output
Shader/material resources, import and uniform ownership rules, renderer compatibility notes, visual comparisons and target GPU measurements. Record environment, scope, expected and observed results, evidence paths, and blocked or not-run checks separately from passes.
Boundaries
Do not switch renderers, add native shader plugins or assume Forward+ features work in Compatibility. Runtime parameter code follows the chosen project language. Independent services and tools retain their architecture contracts.
References
- Godot shading reference. Select the documentation matching the project release.
- Godot ShaderMaterial. Select the documentation matching the project release.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.