unity-decal

Create and configure URP Decal Projectors and the DecalRendererFeature in Unity scenes.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-decal-du-qwq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-decal
Source: https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications/tree/main/.agents/skills/unity-skills/skills/decal
Command: npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-decal-du-qwq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up decals in Unity's Universal Render Pipeline requires manually creating Decal Projector GameObjects, tuning their properties, and ensuring the active URP renderer actually has a DecalRendererFeature attached. This Skill automates that entire workflow so decals appear correctly without digging through renderer asset settings. ## Core Features & Use Cases - Decal Projector Management: Create, inspect, modify, batch-edit, and delete Decal Projectors in the scene via dedicated skills like decal_create and decal_set_properties_batch. - Renderer Feature Setup: Use decal_ensure_renderer_feature to guarantee the target URP renderer has a DecalRendererFeature before projecting decals. - Safe Operation Modes: Query skills run freely, mutating skills respect approval grants, and decal_delete is restricted to Bypass mode or an explicit allowlist. - Use Case: When a user asks to add a bullet-hole or graffiti decal to a wall in a URP project, the Skill verifies the renderer feature, creates the projector, and configures its material, size, and fade properties. ## Quick Start Ask the AI to create a URP decal projector on a surface and make sure the Decal Renderer Feature is enabled on the current renderer.

Frequently Asked Questions about unity-decal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a decal in Unity URP?

Use decal_create to spawn a Decal Projector in the scene, then call decal_ensure_renderer_feature to confirm the active URP renderer has a DecalRendererFeature. Without the renderer feature, decals will not render even if the projector exists.

How do I edit multiple Decal Projectors at once in Unity?

Use decal_set_properties_batch, which accepts an items parameter formatted as a JSON array string. It applies property changes across multiple Decal Projectors in one operation instead of editing each projector individually.

Why are my URP decals not showing up in the scene?

The most common cause is a missing DecalRendererFeature on the active URP renderer asset. Run decal_ensure_renderer_feature first, then use decal_get_info or decal_find_all to verify the projector's actual state and properties.

Does this decal workflow support HDRP?

No, this module targets the Universal Render Pipeline only and does not cover HDRP decal APIs. If the URP package is not installed, every skill returns a diagnostic stub indicating the Universal Render Pipeline package is missing.

Can I delete a Decal Projector automatically?

decal_delete carries a Delete operation flag and is auto-forbidden in Approval and Auto modes. It only executes under Bypass mode or when the user explicitly adds it to the managed allowlist.