unity-material

Automate Unity material and shader setup across render pipelines.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-material-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-material
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/material
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-material-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity material and shader properties management to streamline material creation, color assignment, texture mapping, emission control, and shader parameter tuning in Unity projects, reducing manual setup time and errors.

Core Features & Use Cases

  • Auto-detect render pipeline and apply correct shader property mappings for Built-in, URP, and HDRP
  • Batch operations to apply colors, textures, and emission across multiple objects
  • Parameter-level control for color, emission, texture, and shader assignments with optional save paths

Quick Start

Create or update a Unity material by supplying a name, optional shader, and an optional save path.

Frequently Asked Questions about unity-material

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

FAQPage Schema
How do I automate Unity material creation and shader setup for multiple game assets?

Unity material creation is automated through APIs like material_create, material_assign, and material_set_shader to apply colors, textures, and emission across multiple objects, reducing manual setup time and errors.

Does this Unity material workflow support URP, HDRP, and the Built-in render pipeline?

Yes, it auto-detects the render pipeline (Built-in, URP, or HDRP) and applies correct shader property mappings, ensuring material and texture assignments work across different Unity pipeline configurations.

How do I assign textures and adjust emission properties across multiple objects in Unity?

Use batch operations with material_set_texture and material_set_emission APIs to apply textures and control emission across multiple objects simultaneously, with optional save paths for material assets.

Can I change the shader on an existing Unity material without losing its color and texture settings?

You can use material_set_shader to change the shader while leveraging parameter-level control for color, emission, and texture assignments to reapply and tune properties as needed during the shader switch.

What is the best way to manage Unity material parameters when switching between render pipelines?

Auto-detecting the render pipeline allows correct shader property mappings to be applied automatically, ensuring material colors, textures, and emission parameters remain consistent when switching between Built-in, URP, and HDRP.

Do I need to manually specify a save path when creating new Unity materials?

No, a save path is optional when creating or updating a Unity material. You can supply a material name and an optional shader to create materials, with the ability to specify save paths when needed.